#5E1859#5E1859

#5E1859 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.2% C 0.129 H 331.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#5E1859
RGBrgb(94, 24, 89)
HSLhsl(304, 59%, 23%)
HSVhsv(304, 74%, 37%)
CMYKcmyk(0%, 74.5%, 5.3%, 63.1%)
CIE-LABlab(22.84, 39.59, -22.72)
CIE-LCHlch(22.84, 45.64, 330.15°)
OKLaboklab(35.18% 0.1128 -0.0625)
OKLCHoklch(35.18% 0.129 331)
XYZxyz(6.7459, 3.7547, 9.8187)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1859 #185E1D
analogous
#40185E #5E1859 #5E1836
triadic
#5E1859 #595E18 #18595E
tetradic
#5E1859 #5E4018 #185E1D #18365E
square
#5E1859 #5E4018 #185E1D #18365E
split-complementary
#5E1859 #365E18 #185E40
monochromatic
#180617 #2D0C2B #5E1859 #8F2487 #C031B5

Accessibility & contrast

On white

11.99
#5E1859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5E1859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1859
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1859#FFFFFF#000000##FFFFFF
##5E18591.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12305B
Deuteranopia (green-blind)
#2D3A57
Tritanopia (blue-blind)
#622036
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1859;
/* rgb */ color: rgb(94, 24, 89);
/* oklch */ color: oklch(35.2% 0.129 331.0);
Tailwind
colors: {
  custom: {
    50: '#8e5c88',
    500: '#5e1859',
    950: '#000000',
  },
}
SCSS
$custom: #5e1859;
$custom-light: #8e5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1859",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 304.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35179,
    "c": 0.12894,
    "h": 331
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#5E1859
secondary
#3D9444
accent
#E35145
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1859

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

Preview Lab → · Contrast checker → · Palette generator →

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