#503FA2#503FA2

#503FA2 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.3% C 0.153 H 286.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#503FA2
RGBrgb(80, 63, 162)
HSLhsl(250, 44%, 44%)
HSVhsv(250, 61%, 64%)
CMYKcmyk(50.6%, 61.1%, 0%, 36.5%)
CIE-LABlab(33.71, 33.80, -51.41)
CIE-LCHlch(33.71, 61.52, 303.32°)
OKLaboklab(44.27% 0.0428 -0.1471)
OKLCHoklch(44.27% 0.153 286.2)
XYZxyz(11.6054, 7.8686, 35.0827)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503FA2 #91A23F
analogous
#3F60A2 #503FA2 #823FA2
triadic
#503FA2 #A2503F #3FA250
tetradic
#503FA2 #A23F60 #91A23F #3FA282
square
#503FA2 #A23F60 #91A23F #3FA282
split-complementary
#503FA2 #A2823F #60A23F
monochromatic
#241D4A #3A2E76 #503FA2 #6F5EC0 #968AD1

Accessibility & contrast

On white

8.16
#503FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#503FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503FA2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503FA2#FFFFFF#000000##FFFFFF
##503FA21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#32566A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #503fa2;
/* rgb */ color: rgb(80, 63, 162);
/* oklch */ color: oklch(44.3% 0.153 286.2);
Tailwind
colors: {
  custom: {
    50: '#8875be',
    500: '#503fa2',
    950: '#000000',
  },
}
SCSS
$custom: #503fa2;
$custom-light: #8875be;
$custom-dark: #000000;
JSON
{
  "hex": "#503fa2",
  "rgb": {
    "r": 80,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 250.303,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.15323,
    "h": 286.2
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#503FA2
secondary
#B2BC81
accent
#D454BE
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503FA2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#503FA2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva