#5E1869#5E1869

#5E1869 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.143 H 321.9°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#5E1869
RGBrgb(94, 24, 105)
HSLhsl(292, 63%, 25%)
HSVhsv(292, 77%, 41%)
CMYKcmyk(10.5%, 77.1%, 0%, 58.8%)
CIE-LABlab(23.85, 42.63, -31.64)
CIE-LCHlch(23.85, 53.09, 323.42°)
OKLaboklab(36.22% 0.1127 -0.0885)
OKLCHoklch(36.22% 0.143 321.9)
XYZxyz(7.4923, 4.0533, 13.7496)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1869 #236918
analogous
#351869 #5E1869 #69184B
triadic
#5E1869 #695E18 #18695E
tetradic
#5E1869 #693518 #236918 #184B69
square
#5E1869 #693518 #236918 #184B69
split-complementary
#5E1869 #4B6918 #186935
monochromatic
#160619 #310D37 #5E1869 #8B239B #B72FCD

Accessibility & contrast

On white

11.60
#5E1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1869
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1869#FFFFFF#000000##FFFFFF
##5E18691.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#233B67
Tritanopia (blue-blind)
#5F273F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1869;
/* rgb */ color: rgb(94, 24, 105);
/* oklch */ color: oklch(36.2% 0.143 321.9);
Tailwind
colors: {
  custom: {
    50: '#8f5d94',
    500: '#5e1869',
    950: '#000000',
  },
}
SCSS
$custom: #5e1869;
$custom-light: #8f5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1869",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 291.852,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.14324,
    "h": 321.9
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#5E1869
secondary
#4B9F3E
accent
#E64258
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1869

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

Preview Lab → · Contrast checker → · Palette generator →

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