#5E1373#5E1373

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

Color values

HEX#5E1373
RGBrgb(94, 19, 115)
HSLhsl(287, 72%, 26%)
HSVhsv(287, 83%, 45%)
CMYKcmyk(18.3%, 83.5%, 0%, 54.9%)
CIE-LABlab(23.95, 46.42, -37.94)
CIE-LCHlch(23.95, 59.95, 320.74°)
OKLaboklab(36.52% 0.116 -0.1069)
OKLCHoklch(36.52% 0.158 317.3)
XYZxyz(7.9430, 4.0836, 16.5861)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1373 #287313
analogous
#2E1373 #5E1373 #731358
triadic
#5E1373 #735E13 #13735E
tetradic
#5E1373 #732E13 #287313 #135873
square
#5E1373 #732E13 #287313 #135873
split-complementary
#5E1373 #587313 #13732E
monochromatic
#15041A #330A3E #5E1373 #891CA8 #B325DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1373#FFFFFF#000000##FFFFFF
##5E13731.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)
#003476
Deuteranopia (green-blind)
#153B71
Tritanopia (blue-blind)
#5D2944
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1373;
/* rgb */ color: rgb(94, 19, 115);
/* oklch */ color: oklch(36.5% 0.158 317.3);
Tailwind
colors: {
  custom: {
    50: '#8f5c9c',
    500: '#5e1373',
    950: '#000000',
  },
}
SCSS
$custom: #5e1373;
$custom-light: #8f5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1373",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 286.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36518,
    "c": 0.15775,
    "h": 317.3
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#5E1373
secondary
#51AA38
accent
#EE3961
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5E1373

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

Preview Lab → · Contrast checker → · Palette generator →

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