#5E1473#5E1473

#5E1473 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.157 H 317.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#5E1473
RGBrgb(94, 20, 115)
HSLhsl(287, 70%, 26%)
HSVhsv(287, 83%, 45%)
CMYKcmyk(18.3%, 82.6%, 0%, 54.9%)
CIE-LABlab(24.06, 46.09, -37.76)
CIE-LCHlch(24.06, 59.59, 320.68°)
OKLaboklab(36.6% 0.1152 -0.1064)
OKLCHoklch(36.6% 0.157 317.3)
XYZxyz(7.9603, 4.1182, 16.5919)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1473 #297314
analogous
#2F1473 #5E1473 #731459
triadic
#5E1473 #735E14 #14735E
tetradic
#5E1473 #732F14 #297314 #145973
square
#5E1473 #732F14 #297314 #145973
split-complementary
#5E1473 #597314 #14732F
monochromatic
#15051A #330B3F #5E1473 #891DA7 #B228DA

Accessibility & contrast

On white

11.52
#5E1473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1473
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1473#FFFFFF#000000##FFFFFF
##5E14731.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#163B71
Tritanopia (blue-blind)
#5D2A44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1473;
/* rgb */ color: rgb(94, 20, 115);
/* oklch */ color: oklch(36.6% 0.157 317.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c9c',
    500: '#5e1473',
    950: '#000000',
  },
}
SCSS
$custom: #5e1473;
$custom-light: #8f5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1473",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 286.737,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36597,
    "c": 0.15678,
    "h": 317.3
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#5E1473
secondary
#52A93A
accent
#ED3B62
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1473

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

Preview Lab → · Contrast checker → · Palette generator →

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