#5E1E79#5E1E79

#5E1E79 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.151 H 313.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#5E1E79
RGBrgb(94, 30, 121)
HSLhsl(282, 60%, 30%)
HSVhsv(282, 75%, 47%)
CMYKcmyk(22.3%, 75.2%, 0%, 52.5%)
CIE-LABlab(25.83, 43.57, -38.73)
CIE-LCHlch(25.83, 58.30, 318.36°)
OKLaboklab(37.99% 0.1046 -0.1093)
OKLCHoklch(37.99% 0.151 313.7)
XYZxyz(8.5310, 4.6890, 18.5411)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E79 #39791E
analogous
#311E79 #5E1E79 #791E67
triadic
#5E1E79 #795E1E #1E795E
tetradic
#5E1E79 #79311E #39791E #1E6779
square
#5E1E79 #79311E #39791E #1E6779
split-complementary
#5E1E79 #67791E #1E7931
monochromatic
#130619 #381248 #5E1E79 #842AAA #A641D0

Accessibility & contrast

On white

10.84
#5E1E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#5E1E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E79
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E79#FFFFFF#000000##FFFFFF
##5E1E791.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#173F77
Tritanopia (blue-blind)
#5B324A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1e79;
/* rgb */ color: rgb(94, 30, 121);
/* oklch */ color: oklch(38.0% 0.151 313.7);
Tailwind
colors: {
  custom: {
    50: '#8f61a0',
    500: '#5e1e79',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e79;
$custom-light: #8f61a0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e79",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 282.198,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37991,
    "c": 0.15131,
    "h": 313.7
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#5E1E79
secondary
#65AD46
accent
#E34474
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5E1E79

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

Preview Lab → · Contrast checker → · Palette generator →

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