#5E1973#5E1973

#5E1973 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.151 H 316.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#5E1973
RGBrgb(94, 25, 115)
HSLhsl(286, 64%, 27%)
HSVhsv(286, 78%, 45%)
CMYKcmyk(18.3%, 78.3%, 0%, 54.9%)
CIE-LABlab(24.68, 44.30, -36.76)
CIE-LCHlch(24.68, 57.56, 320.32°)
OKLaboklab(37.04% 0.1106 -0.1035)
OKLCHoklch(37.04% 0.151 316.9)
XYZxyz(8.0578, 4.3131, 16.6244)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1973 #2E7319
analogous
#311973 #5E1973 #73195B
triadic
#5E1973 #735E19 #19735E
tetradic
#5E1973 #733119 #2E7319 #195B73
square
#5E1973 #733119 #2E7319 #195B73
split-complementary
#5E1973 #5B7319 #197331
monochromatic
#150519 #350E41 #5E1973 #8724A5 #AE34D3

Accessibility & contrast

On white

11.27
#5E1973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E1973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1973
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1973#FFFFFF#000000##FFFFFF
##5E19731.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#1A3D71
Tritanopia (blue-blind)
#5D2C45
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1973;
/* rgb */ color: rgb(94, 25, 115);
/* oklch */ color: oklch(37.0% 0.151 316.9);
Tailwind
colors: {
  custom: {
    50: '#8f5e9c',
    500: '#5e1973',
    950: '#000000',
  },
}
SCSS
$custom: #5e1973;
$custom-light: #8f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1973",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 286,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.15144,
    "h": 316.9
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#5E1973
secondary
#58A840
accent
#E74167
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1973

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

Preview Lab → · Contrast checker → · Palette generator →

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