#501E87#501E87

#501E87 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.162 H 300.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#501E87
RGBrgb(80, 30, 135)
HSLhsl(269, 64%, 32%)
HSVhsv(269, 78%, 53%)
CMYKcmyk(40.7%, 77.8%, 0%, 47.1%)
CIE-LABlab(24.90, 44.14, -49.17)
CIE-LCHlch(24.90, 66.08, 311.92°)
OKLaboklab(37.25% 0.0813 -0.1405)
OKLCHoklch(37.25% 0.162 300.1)
XYZxyz(8.1446, 4.3832, 23.3339)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E87 #55871E
analogous
#1E2187 #501E87 #841E87
triadic
#501E87 #87501E #1E8750
tetradic
#501E87 #871E21 #55871E #1E8784
square
#501E87 #871E21 #55871E #1E8784
split-complementary
#501E87 #87841E #21871E
monochromatic
#150823 #321355 #501E87 #6E29B9 #8C49D7

Accessibility & contrast

On white

11.19
#501E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#501E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E87
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E87#FFFFFF#000000##FFFFFF
##501E871.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#433951
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501e87;
/* rgb */ color: rgb(80, 30, 135);
/* oklch */ color: oklch(37.3% 0.162 300.1);
Tailwind
colors: {
  custom: {
    50: '#8760ab',
    500: '#501e87',
    950: '#000000',
  },
}
SCSS
$custom: #501e87;
$custom-light: #8760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#501e87",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 268.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37252,
    "c": 0.16232,
    "h": 300.1
  },
  "luminance": 0.04383
}

Semantic roles & 50–950 ramp

primary
#501E87
secondary
#83B948
accent
#E74198
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E87

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

Preview Lab → · Contrast checker → · Palette generator →

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