#5E1B69#5E1B69

#5E1B69 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.139 H 321.7°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#5E1B69
RGBrgb(94, 27, 105)
HSLhsl(292, 59%, 26%)
HSVhsv(292, 74%, 41%)
CMYKcmyk(10.5%, 74.3%, 0%, 58.8%)
CIE-LABlab(24.27, 41.43, -30.96)
CIE-LCHlch(24.27, 51.72, 323.23°)
OKLaboklab(36.52% 0.1094 -0.0865)
OKLCHoklch(36.52% 0.139 321.7)
XYZxyz(7.5576, 4.1839, 13.7714)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B69 #26691B
analogous
#371B69 #5E1B69 #691B4D
triadic
#5E1B69 #695E1B #1B695E
tetradic
#5E1B69 #69371B #26691B #1B4D69
square
#5E1B69 #69371B #26691B #1B4D69
split-complementary
#5E1B69 #4D691B #1B6937
monochromatic
#160618 #320E38 #5E1B69 #8A289A #B534CA

Accessibility & contrast

On white

11.43
#5E1B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E1B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B69
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B69#FFFFFF#000000##FFFFFF
##5E1B691.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#253C67
Tritanopia (blue-blind)
#5F2940
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1b69;
/* rgb */ color: rgb(94, 27, 105);
/* oklch */ color: oklch(36.5% 0.139 321.7);
Tailwind
colors: {
  custom: {
    50: '#8e5e94',
    500: '#5e1b69',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b69;
$custom-light: #8e5e94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b69",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 291.538,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.13948,
    "h": 321.7
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#5E1B69
secondary
#4F9E42
accent
#E2465C
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1B69

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

Preview Lab → · Contrast checker → · Palette generator →

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