#5E1359#5E1359

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

Color values

HEX#5E1359
RGBrgb(94, 19, 89)
HSLhsl(304, 66%, 22%)
HSVhsv(304, 80%, 37%)
CMYKcmyk(0%, 79.8%, 5.3%, 63.1%)
CIE-LABlab(22.19, 41.46, -23.75)
CIE-LCHlch(22.19, 47.78, 330.19°)
OKLaboklab(34.71% 0.1182 -0.0655)
OKLCHoklch(34.71% 0.135 331)
XYZxyz(6.6521, 3.5672, 9.7874)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1359 #135E18
analogous
#3E135E #5E1359 #5E1334
triadic
#5E1359 #595E13 #13595E
tetradic
#5E1359 #5E3E13 #135E18 #13345E
square
#5E1359 #5E3E13 #135E18 #13345E
split-complementary
#5E1359 #345E13 #135E3E
monochromatic
#190518 #2B0929 #5E1359 #911D89 #C428B9

Accessibility & contrast

On white

12.26
#5E1359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1359
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1359#FFFFFF#000000##FFFFFF
##5E13591.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1359;
/* rgb */ color: rgb(94, 19, 89);
/* oklch */ color: oklch(34.7% 0.135 331.0);
Tailwind
colors: {
  custom: {
    50: '#8f5a88',
    500: '#5e1359',
    950: '#000000',
  },
}
SCSS
$custom: #5e1359;
$custom-light: #8f5a88;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1359",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 304,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34707,
    "c": 0.1351,
    "h": 331
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#5E1359
secondary
#37963D
accent
#E94A3F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1359

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

Preview Lab → · Contrast checker → · Palette generator →

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