#5E1577#5E1577

#5E1577 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 37.0% C 0.159 H 315.4°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#5E1577
RGBrgb(94, 21, 119)
HSLhsl(285, 70%, 27%)
HSVhsv(285, 82%, 47%)
CMYKcmyk(21%, 82.4%, 0%, 53.3%)
CIE-LABlab(24.48, 46.59, -39.65)
CIE-LCHlch(24.48, 61.18, 319.60°)
OKLaboklab(36.99% 0.1136 -0.1119)
OKLCHoklch(36.99% 0.159 315.4)
XYZxyz(8.2135, 4.2482, 17.8365)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1577 #2E7715
analogous
#2D1577 #5E1577 #77155F
triadic
#5E1577 #775E15 #15775E
tetradic
#5E1577 #772D15 #2E7715 #155F77
square
#5E1577 #772D15 #2E7715 #155F77
split-complementary
#5E1577 #5F7715 #15772D
monochromatic
#15051A #350C43 #5E1577 #871EAB #AE2DDA

Accessibility & contrast

On white

11.35
#5E1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1577
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1577#FFFFFF#000000##FFFFFF
##5E15771.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#113C75
Tritanopia (blue-blind)
#5C2C46
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1577;
/* rgb */ color: rgb(94, 21, 119);
/* oklch */ color: oklch(37.0% 0.159 315.4);
Tailwind
colors: {
  custom: {
    50: '#8f5d9f',
    500: '#5e1577',
    950: '#000000',
  },
}
SCSS
$custom: #5e1577;
$custom-light: #8f5d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1577",
  "rgb": {
    "r": 94,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 284.694,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.15946,
    "h": 315.4
  },
  "luminance": 0.04248
}

Semantic roles & 50–950 ramp

primary
#5E1577
secondary
#58AD3B
accent
#ED3B68
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1577

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

Preview Lab → · Contrast checker → · Palette generator →

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