#5E1471#5E1471

#5E1471 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.155 H 318.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#5E1471
RGBrgb(94, 20, 113)
HSLhsl(288, 70%, 26%)
HSVhsv(288, 82%, 44%)
CMYKcmyk(16.8%, 82.3%, 0%, 55.7%)
CIE-LABlab(23.91, 45.69, -36.71)
CIE-LCHlch(23.91, 58.61, 321.22°)
OKLaboklab(36.45% 0.1155 -0.1033)
OKLCHoklch(36.45% 0.155 318.2)
XYZxyz(7.8465, 4.0726, 15.9924)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1471 #277114
analogous
#2F1471 #5E1471 #711455
triadic
#5E1471 #715E14 #14715E
tetradic
#5E1471 #712F14 #277114 #145571
square
#5E1471 #712F14 #277114 #145571
split-complementary
#5E1471 #557114 #14712F
monochromatic
#16051A #330B3D #5E1471 #891DA5 #B427D9

Accessibility & contrast

On white

11.57
#5E1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E1471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1471
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1471#FFFFFF#000000##FFFFFF
##5E14711.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#193B6F
Tritanopia (blue-blind)
#5D2943
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1471;
/* rgb */ color: rgb(94, 20, 113);
/* oklch */ color: oklch(36.4% 0.155 318.2);
Tailwind
colors: {
  custom: {
    50: '#8f5c9a',
    500: '#5e1471',
    950: '#000000',
  },
}
SCSS
$custom: #5e1471;
$custom-light: #8f5c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1471",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 287.742,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36446,
    "c": 0.15496,
    "h": 318.2
  },
  "luminance": 0.04072
}

Semantic roles & 50–950 ramp

primary
#5E1471
secondary
#50A739
accent
#ED3B5F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1471

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

Preview Lab → · Contrast checker → · Palette generator →

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