#5E1666#5E1666

#5E1666 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.143 H 323.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#5E1666
RGBrgb(94, 22, 102)
HSLhsl(294, 65%, 24%)
HSVhsv(294, 78%, 40%)
CMYKcmyk(7.8%, 78.4%, 0%, 60%)
CIE-LABlab(23.38, 42.79, -30.43)
CIE-LCHlch(23.38, 52.51, 324.59°)
OKLaboklab(35.83% 0.1149 -0.0849)
OKLCHoklch(35.83% 0.143 323.5)
XYZxyz(7.3011, 3.9133, 12.9386)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1666 #1E6616
analogous
#361666 #5E1666 #661646
triadic
#5E1666 #665E16 #16665E
tetradic
#5E1666 #663616 #1E6616 #164666
square
#5E1666 #663616 #1E6616 #164666
split-complementary
#5E1666 #466616 #166636
monochromatic
#170519 #300B34 #5E1666 #8C2198 #BB2CCB

Accessibility & contrast

On white

11.78
#5E1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5E1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1666
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1666#FFFFFF#000000##FFFFFF
##5E16661.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#243B64
Tritanopia (blue-blind)
#60253D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1666;
/* rgb */ color: rgb(94, 22, 102);
/* oklch */ color: oklch(35.8% 0.143 323.5);
Tailwind
colors: {
  custom: {
    50: '#8f5c92',
    500: '#5e1666',
    950: '#000000',
  },
}
SCSS
$custom: #5e1666;
$custom-light: #8f5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1666",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 294,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35826,
    "c": 0.14287,
    "h": 323.5
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#5E1666
secondary
#459D3B
accent
#E84051
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1666

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

Preview Lab → · Contrast checker → · Palette generator →

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