#5E1D79#5E1D79

#5E1D79 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.153 H 313.8°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#5E1D79
RGBrgb(94, 29, 121)
HSLhsl(282, 61%, 29%)
HSVhsv(282, 76%, 47%)
CMYKcmyk(22.3%, 76%, 0%, 52.5%)
CIE-LABlab(25.68, 43.99, -38.97)
CIE-LCHlch(25.68, 58.77, 318.46°)
OKLaboklab(37.89% 0.1057 -0.11)
OKLCHoklch(37.89% 0.153 313.8)
XYZxyz(8.5061, 4.6392, 18.5328)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D79 #38791D
analogous
#301D79 #5E1D79 #791D66
triadic
#5E1D79 #795E1D #1D795E
tetradic
#5E1D79 #79301D #38791D #1D6679
square
#5E1D79 #79301D #38791D #1D6679
split-complementary
#5E1D79 #66791D #1D7930
monochromatic
#130619 #381148 #5E1D79 #8429AA #A63FD1

Accessibility & contrast

On white

10.89
#5E1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#5E1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D79
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D79#FFFFFF#000000##FFFFFF
##5E1D791.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#163E77
Tritanopia (blue-blind)
#5B3149
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1d79;
/* rgb */ color: rgb(94, 29, 121);
/* oklch */ color: oklch(37.9% 0.153 313.8);
Tailwind
colors: {
  custom: {
    50: '#8f60a0',
    500: '#5e1d79',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d79;
$custom-light: #8f60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d79",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 282.391,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.15254,
    "h": 313.8
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#5E1D79
secondary
#63AD45
accent
#E44373
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5E1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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