#5E0D51#5E0D51

#5E0D51 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.135 H 335.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5E0D51
RGBrgb(94, 13, 81)
HSLhsl(310, 76%, 21%)
HSVhsv(310, 86%, 37%)
CMYKcmyk(0%, 86.2%, 13.8%, 63.1%)
CIE-LABlab(21.06, 42.00, -20.15)
CIE-LCHlch(21.06, 46.59, 334.37°)
OKLaboklab(33.75% 0.1233 -0.0551)
OKLCHoklch(33.75% 0.135 335.9)
XYZxyz(6.2453, 3.2622, 8.0837)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E0D51 #0D5E1A
analogous
#420D5E #5E0D51 #5E0D28
triadic
#5E0D51 #515E0D #0D515E
tetradic
#5E0D51 #5E420D #0D5E1A #0D285E
square
#5E0D51 #5E420D #0D5E1A #0D285E
split-complementary
#5E0D51 #285E0D #0D5E42
monochromatic
#1B0417 #280623 #5E0D51 #94147F #CA1CAE

Accessibility & contrast

On white

12.71
#5E0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E0D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E0D51
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E0D51#FFFFFF#000000##FFFFFF
##5E0D511.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2B53
Deuteranopia (green-blind)
#2D374F
Tritanopia (blue-blind)
#63142F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5e0d51;
/* rgb */ color: rgb(94, 13, 81);
/* oklch */ color: oklch(33.8% 0.135 335.9);
Tailwind
colors: {
  custom: {
    50: '#8f5882',
    500: '#5e0d51',
    950: '#000000',
  },
}
SCSS
$custom: #5e0d51;
$custom-light: #8f5882;
$custom-dark: #000000;
JSON
{
  "hex": "#5e0d51",
  "rgb": {
    "r": 94,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 309.63,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33753,
    "c": 0.13505,
    "h": 335.9
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#5E0D51
secondary
#2F9840
accent
#F25436
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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