#503E87#503E87

#503E87 is a dark, moderate violet. Relative luminance 0.069; OKLCH L 42.1% C 0.117 H 291.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#503E87
RGBrgb(80, 62, 135)
HSLhsl(255, 37%, 39%)
HSVhsv(255, 54%, 53%)
CMYKcmyk(40.7%, 54.1%, 0%, 47.1%)
CIE-LABlab(31.58, 26.17, -38.37)
CIE-LCHlch(31.58, 46.44, 304.30°)
OKLaboklab(42.09% 0.0438 -0.1088)
OKLCHoklch(42.09% 0.117 291.9)
XYZxyz(9.4029, 6.8997, 23.7533)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#503E87 #75873E
analogous
#3E5087 #503E87 #743E87
triadic
#503E87 #87503E #3E8750
tetradic
#503E87 #873E50 #75873E #3E8774
square
#503E87 #873E50 #75873E #3E8774
split-complementary
#503E87 #87743E #50873E
monochromatic
#1E1733 #372B5D #503E87 #6952B0 #8E7CC3

Accessibility & contrast

On white

8.82
#503E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#503E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #503E87
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##503E87#FFFFFF#000000##FFFFFF
##503E871.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#224985
Tritanopia (blue-blind)
#424D5C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #503e87;
/* rgb */ color: rgb(80, 62, 135);
/* oklch */ color: oklch(42.1% 0.117 291.9);
Tailwind
colors: {
  custom: {
    50: '#8474aa',
    500: '#503e87',
    950: '#000000',
  },
}
SCSS
$custom: #503e87;
$custom-light: #8474aa;
$custom-dark: #000000;
JSON
{
  "hex": "#503e87",
  "rgb": {
    "r": 80,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 254.795,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42091,
    "c": 0.11731,
    "h": 291.9
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#503E87
secondary
#9FAD74
accent
#CD5BB1
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0810
muted
#7C7B7F

Preview Lab

Preview with #503E87

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

Preview Lab → · Contrast checker → · Palette generator →

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