#5E1667#5E1667

#5E1667 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.144 H 323.0°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#5E1667
RGBrgb(94, 22, 103)
HSLhsl(293, 65%, 25%)
HSVhsv(293, 79%, 40%)
CMYKcmyk(8.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(23.45, 42.99, -30.97)
CIE-LCHlch(23.45, 52.98, 324.23°)
OKLaboklab(35.89% 0.1148 -0.0865)
OKLCHoklch(35.89% 0.144 323)
XYZxyz(7.3509, 3.9332, 13.2013)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1667 #1F6716
analogous
#351667 #5E1667 #671648
triadic
#5E1667 #675E16 #16675E
tetradic
#5E1667 #673516 #1F6716 #164867
square
#5E1667 #673516 #1F6716 #164867
split-complementary
#5E1667 #486716 #166735
monochromatic
#170519 #300B35 #5E1667 #8C2199 #BA2CCC

Accessibility & contrast

On white

11.75
#5E1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1667
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1667#FFFFFF#000000##FFFFFF
##5E16671.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#233B65
Tritanopia (blue-blind)
#5F253D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1667;
/* rgb */ color: rgb(94, 22, 103);
/* oklch */ color: oklch(35.9% 0.144 323.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c93',
    500: '#5e1667',
    950: '#000000',
  },
}
SCSS
$custom: #5e1667;
$custom-light: #8f5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1667",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 293.333,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.14377,
    "h": 323
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#5E1667
secondary
#469E3B
accent
#E84053
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1667

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

Preview Lab → · Contrast checker → · Palette generator →

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