#5E1E69#5E1E69

#5E1E69 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.135 H 321.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#5E1E69
RGBrgb(94, 30, 105)
HSLhsl(291, 56%, 26%)
HSVhsv(291, 71%, 41%)
CMYKcmyk(10.5%, 71.4%, 0%, 58.8%)
CIE-LABlab(24.73, 40.13, -30.23)
CIE-LCHlch(24.73, 50.24, 323.01°)
OKLaboklab(36.85% 0.1059 -0.0844)
OKLCHoklch(36.85% 0.135 321.5)
XYZxyz(7.6299, 4.3286, 13.7955)
Luminance0.0433 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E69 #29691E
analogous
#391E69 #5E1E69 #691E4F
triadic
#5E1E69 #695E1E #1E695E
tetradic
#5E1E69 #69391E #29691E #1E4F69
square
#5E1E69 #69391E #29691E #1E4F69
split-complementary
#5E1E69 #4F691E #1E6939
monochromatic
#150718 #331039 #5E1E69 #892C99 #B23BC7

Accessibility & contrast

On white

11.26
#5E1E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E1E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E69
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E69#FFFFFF#000000##FFFFFF
##5E1E691.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366B
Deuteranopia (green-blind)
#273D67
Tritanopia (blue-blind)
#5F2B41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1e69;
/* rgb */ color: rgb(94, 30, 105);
/* oklch */ color: oklch(36.9% 0.135 321.5);
Tailwind
colors: {
  custom: {
    50: '#8e6094',
    500: '#5e1e69',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e69;
$custom-light: #8e6094;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e69",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 291.2,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36853,
    "c": 0.13543,
    "h": 321.5
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#5E1E69
secondary
#529E45
accent
#DF495F
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5E1E69

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

Preview Lab → · Contrast checker → · Palette generator →

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