#5E1E6E#5E1E6E

#5E1E6E is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.140 H 318.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#5E1E6E
RGBrgb(94, 30, 110)
HSLhsl(288, 57%, 27%)
HSVhsv(288, 73%, 43%)
CMYKcmyk(14.5%, 72.7%, 0%, 56.9%)
CIE-LABlab(25.06, 41.18, -32.94)
CIE-LCHlch(25.06, 52.73, 321.35°)
OKLaboklab(37.2% 0.1057 -0.0923)
OKLCHoklch(37.2% 0.14 318.9)
XYZxyz(7.8945, 4.4344, 15.1889)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E6E #2E6E1E
analogous
#361E6E #5E1E6E #6E1E56
triadic
#5E1E6E #6E5E1E #1E6E5E
tetradic
#5E1E6E #6E361E #2E6E1E #1E566E
square
#5E1E6E #6E361E #2E6E1E #1E566E
split-complementary
#5E1E6E #566E1E #1E6E36
monochromatic
#150718 #35113E #5E1E6E #872B9E #AE3CCA

Accessibility & contrast

On white

11.13
#5E1E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5E1E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E6E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E6E#FFFFFF#000000##FFFFFF
##5E1E6E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#233E6C
Tritanopia (blue-blind)
#5E2D43
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1e6e;
/* rgb */ color: rgb(94, 30, 110);
/* oklch */ color: oklch(37.2% 0.140 318.9);
Tailwind
colors: {
  custom: {
    50: '#8f6098',
    500: '#5e1e6e',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e6e;
$custom-light: #8f6098;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e6e",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 288,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.14033,
    "h": 318.9
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#5E1E6E
secondary
#58A246
accent
#E04766
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1E6E

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

Preview Lab → · Contrast checker → · Palette generator →

#5E1E6E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva