#5E1574#5E1574

#5E1574 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.157 H 316.8°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#5E1574
RGBrgb(94, 21, 116)
HSLhsl(286, 69%, 27%)
HSVhsv(286, 82%, 45%)
CMYKcmyk(19%, 81.9%, 0%, 54.5%)
CIE-LABlab(24.25, 45.97, -38.09)
CIE-LCHlch(24.25, 59.70, 320.35°)
OKLaboklab(36.75% 0.1141 -0.1074)
OKLCHoklch(36.75% 0.157 316.8)
XYZxyz(8.0362, 4.1773, 16.9026)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1574 #2B7415
analogous
#2F1574 #5E1574 #74155B
triadic
#5E1574 #745E15 #15745E
tetradic
#5E1574 #742F15 #2B7415 #155B74
square
#5E1574 #742F15 #2B7415 #155B74
split-complementary
#5E1574 #5B7415 #15742F
monochromatic
#15051A #340C40 #5E1574 #881EA8 #B02BD9

Accessibility & contrast

On white

11.44
#5E1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1574
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1574#FFFFFF#000000##FFFFFF
##5E15741.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#153C72
Tritanopia (blue-blind)
#5D2B45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1574;
/* rgb */ color: rgb(94, 21, 116);
/* oklch */ color: oklch(36.8% 0.157 316.8);
Tailwind
colors: {
  custom: {
    50: '#8f5c9d',
    500: '#5e1574',
    950: '#000000',
  },
}
SCSS
$custom: #5e1574;
$custom-light: #8f5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1574",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 286.105,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36755,
    "c": 0.1567,
    "h": 316.8
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#5E1574
secondary
#55AA3B
accent
#EC3C65
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1574

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

Preview Lab → · Contrast checker → · Palette generator →

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