#5E1E73#5E1E73

#5E1E73 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.145 H 316.5°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#5E1E73
RGBrgb(94, 30, 115)
HSLhsl(285, 59%, 28%)
HSVhsv(285, 74%, 45%)
CMYKcmyk(18.3%, 73.9%, 0%, 54.9%)
CIE-LABlab(25.40, 42.25, -35.60)
CIE-LCHlch(25.40, 55.25, 319.88°)
OKLaboklab(37.55% 0.1053 -0.1001)
OKLCHoklch(37.55% 0.145 316.5)
XYZxyz(8.1744, 4.5464, 16.6633)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E73 #33731E
analogous
#331E73 #5E1E73 #731E5D
triadic
#5E1E73 #735E1E #1E735E
tetradic
#5E1E73 #73331E #33731E #1E5D73
square
#5E1E73 #73331E #33731E #1E5D73
split-complementary
#5E1E73 #5D731E #1E7333
monochromatic
#140618 #361142 #5E1E73 #862BA4 #AA3FCD

Accessibility & contrast

On white

11.00
#5E1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5E1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E73
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E73#FFFFFF#000000##FFFFFF
##5E1E731.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#5D2F46
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5e1e73;
/* rgb */ color: rgb(94, 30, 115);
/* oklch */ color: oklch(37.5% 0.145 316.5);
Tailwind
colors: {
  custom: {
    50: '#8f609c',
    500: '#5e1e73',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e73;
$custom-light: #8f609c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e73",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 285.176,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.14529,
    "h": 316.5
  },
  "luminance": 0.04546
}

Semantic roles & 50–950 ramp

primary
#5E1E73
secondary
#5EA746
accent
#E2466C
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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