#5E1459#5E1459

#5E1459 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.134 H 331.0°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#5E1459
RGBrgb(94, 20, 89)
HSLhsl(304, 65%, 22%)
HSVhsv(304, 79%, 37%)
CMYKcmyk(0%, 78.7%, 5.3%, 63.1%)
CIE-LABlab(22.31, 41.11, -23.56)
CIE-LCHlch(22.31, 47.38, 330.18°)
OKLaboklab(34.8% 0.1172 -0.0649)
OKLCHoklch(34.8% 0.134 331)
XYZxyz(6.6694, 3.6018, 9.7932)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1459 #145E19
analogous
#3E145E #5E1459 #5E1434
triadic
#5E1459 #595E14 #14595E
tetradic
#5E1459 #5E3E14 #145E19 #14345E
square
#5E1459 #5E3E14 #145E19 #14345E
split-complementary
#5E1459 #345E14 #145E3E
monochromatic
#190518 #2C0929 #5E1459 #901F89 #C329B9

Accessibility & contrast

On white

12.21
#5E1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5E1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1459
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1459#FFFFFF#000000##FFFFFF
##5E14591.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5B
Deuteranopia (green-blind)
#2B3957
Tritanopia (blue-blind)
#621D35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1459;
/* rgb */ color: rgb(94, 20, 89);
/* oklch */ color: oklch(34.8% 0.134 331.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b88',
    500: '#5e1459',
    950: '#000000',
  },
}
SCSS
$custom: #5e1459;
$custom-light: #8f5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1459",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 304.054,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34795,
    "c": 0.13395,
    "h": 331
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#5E1459
secondary
#38963E
accent
#E84B40
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1459

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

Preview Lab → · Contrast checker → · Palette generator →

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