#5E1A69#5E1A69

#5E1A69 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.141 H 321.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#5E1A69
RGBrgb(94, 26, 105)
HSLhsl(292, 60%, 26%)
HSVhsv(292, 75%, 41%)
CMYKcmyk(10.5%, 75.2%, 0%, 58.8%)
CIE-LABlab(24.13, 41.84, -31.19)
CIE-LCHlch(24.13, 52.19, 323.29°)
OKLaboklab(36.42% 0.1105 -0.0872)
OKLCHoklch(36.42% 0.141 321.7)
XYZxyz(7.5350, 4.1388, 13.7638)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A69 #25691A
analogous
#371A69 #5E1A69 #691A4C
triadic
#5E1A69 #695E1A #1A695E
tetradic
#5E1A69 #69371A #25691A #1A4C69
square
#5E1A69 #69371A #25691A #1A4C69
split-complementary
#5E1A69 #4C691A #1A6937
monochromatic
#160619 #320E38 #5E1A69 #8A269A #B632CB

Accessibility & contrast

On white

11.49
#5E1A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5E1A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A69
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A69#FFFFFF#000000##FFFFFF
##5E1A691.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#243C67
Tritanopia (blue-blind)
#5F2840
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1a69;
/* rgb */ color: rgb(94, 26, 105);
/* oklch */ color: oklch(36.4% 0.141 321.7);
Tailwind
colors: {
  custom: {
    50: '#8f5e94',
    500: '#5e1a69',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a69;
$custom-light: #8f5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a69",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 291.646,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.14076,
    "h": 321.7
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#5E1A69
secondary
#4D9E40
accent
#E3445B
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1A69

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

Preview Lab → · Contrast checker → · Palette generator →

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