#503D9F#503D9F

#503D9F is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.152 H 287.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#503D9F
RGBrgb(80, 61, 159)
HSLhsl(252, 45%, 43%)
HSVhsv(252, 62%, 62%)
CMYKcmyk(49.7%, 61.6%, 0%, 37.6%)
CIE-LABlab(33.02, 34.09, -50.72)
CIE-LCHlch(33.02, 61.11, 303.90°)
OKLaboklab(43.69% 0.0451 -0.1451)
OKLCHoklch(43.69% 0.152 287.3)
XYZxyz(11.2332, 7.5457, 33.6587)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503D9F #8C9F3D
analogous
#3D5B9F #503D9F #813D9F
triadic
#503D9F #9F503D #3D9F50
tetradic
#503D9F #9F3D5B #8C9F3D #3D9F81
square
#503D9F #9F3D5B #8C9F3D #3D9F81
split-complementary
#503D9F #9F813D #5B9F3D
monochromatic
#231B47 #3A2C73 #503D9F #6D5AC0 #9486D1

Accessibility & contrast

On white

8.37
#503D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#503D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503D9F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503D9F#FFFFFF#000000##FFFFFF
##503D9F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#355468
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #503d9f;
/* rgb */ color: rgb(80, 61, 159);
/* oklch */ color: oklch(43.7% 0.152 287.3);
Tailwind
colors: {
  custom: {
    50: '#8873bc',
    500: '#503d9f',
    950: '#000000',
  },
}
SCSS
$custom: #503d9f;
$custom-light: #8873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#503d9f",
  "rgb": {
    "r": 80,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 251.633,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43689,
    "c": 0.15197,
    "h": 287.3
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#503D9F
secondary
#AFBB7D
accent
#D454BB
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #503D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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