#5E1474#5E1474

#5E1474 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.7% C 0.158 H 316.8°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#5E1474
RGBrgb(94, 20, 116)
HSLhsl(286, 71%, 27%)
HSVhsv(286, 83%, 45%)
CMYKcmyk(19%, 82.8%, 0%, 54.5%)
CIE-LABlab(24.13, 46.30, -38.28)
CIE-LCHlch(24.13, 60.08, 320.42°)
OKLaboklab(36.67% 0.115 -0.1079)
OKLCHoklch(36.67% 0.158 316.8)
XYZxyz(8.0182, 4.1413, 16.8966)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1474 #2A7414
analogous
#2E1474 #5E1474 #74145A
triadic
#5E1474 #745E14 #14745E
tetradic
#5E1474 #742E14 #2A7414 #145A74
square
#5E1474 #742E14 #2A7414 #145A74
split-complementary
#5E1474 #5A7414 #14742E
monochromatic
#15051A #340B40 #5E1474 #881DA8 #B128DA

Accessibility & contrast

On white

11.49
#5E1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1474
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1474#FFFFFF#000000##FFFFFF
##5E14741.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#153B72
Tritanopia (blue-blind)
#5D2A44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1474;
/* rgb */ color: rgb(94, 20, 116);
/* oklch */ color: oklch(36.7% 0.158 316.8);
Tailwind
colors: {
  custom: {
    50: '#8f5c9d',
    500: '#5e1474',
    950: '#000000',
  },
}
SCSS
$custom: #5e1474;
$custom-light: #8f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1474",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 286.25,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36674,
    "c": 0.15769,
    "h": 316.8
  },
  "luminance": 0.04141
}

Semantic roles & 50–950 ramp

primary
#5E1474
secondary
#53AA3A
accent
#ED3A63
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1474

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

Preview Lab → · Contrast checker → · Palette generator →

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