#5E1570#5E1570

#5E1570 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.153 H 318.6°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#5E1570
RGBrgb(94, 21, 112)
HSLhsl(288, 68%, 26%)
HSVhsv(288, 81%, 44%)
CMYKcmyk(16.1%, 81.2%, 0%, 56.1%)
CIE-LABlab(23.95, 45.14, -36.00)
CIE-LCHlch(23.95, 57.74, 321.43°)
OKLaboklab(36.45% 0.1148 -0.1012)
OKLCHoklch(36.45% 0.153 318.6)
XYZxyz(7.8085, 4.0862, 15.7035)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1570 #277015
analogous
#301570 #5E1570 #701554
triadic
#5E1570 #705E15 #15705E
tetradic
#5E1570 #703015 #277015 #155470
square
#5E1570 #703015 #277015 #155470
split-complementary
#5E1570 #547015 #157030
monochromatic
#16051A #330B3C #5E1570 #891FA4 #B429D7

Accessibility & contrast

On white

11.56
#5E1570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5E1570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1570
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1570#FFFFFF#000000##FFFFFF
##5E15701.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#1A3B6E
Tritanopia (blue-blind)
#5E2942
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1570;
/* rgb */ color: rgb(94, 21, 112);
/* oklch */ color: oklch(36.5% 0.153 318.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c9a',
    500: '#5e1570',
    950: '#000000',
  },
}
SCSS
$custom: #5e1570;
$custom-light: #8f5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1570",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 288.132,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36454,
    "c": 0.15303,
    "h": 318.6
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#5E1570
secondary
#50A63B
accent
#EB3D5F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1570

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

Preview Lab → · Contrast checker → · Palette generator →

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