#5E1665#5E1665

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

Color values

HEX#5E1665
RGBrgb(94, 22, 101)
HSLhsl(295, 64%, 24%)
HSVhsv(295, 78%, 40%)
CMYKcmyk(6.9%, 78.2%, 0%, 60.4%)
CIE-LABlab(23.32, 42.60, -29.88)
CIE-LCHlch(23.32, 52.03, 324.96°)
OKLaboklab(35.76% 0.115 -0.0833)
OKLCHoklch(35.76% 0.142 324.1)
XYZxyz(7.2518, 3.8935, 12.6790)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1665 #1D6516
analogous
#371665 #5E1665 #651645
triadic
#5E1665 #655E16 #16655E
tetradic
#5E1665 #653716 #1D6516 #164565
square
#5E1665 #653716 #1D6516 #164565
split-complementary
#5E1665 #456516 #166537
monochromatic
#170519 #2F0B33 #5E1665 #8D2197 #BC2CCA

Accessibility & contrast

On white

11.81
#5E1665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1665
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1665#FFFFFF#000000##FFFFFF
##5E16651.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#253A63
Tritanopia (blue-blind)
#60243C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1665;
/* rgb */ color: rgb(94, 22, 101);
/* oklch */ color: oklch(35.8% 0.142 324.1);
Tailwind
colors: {
  custom: {
    50: '#8f5c91',
    500: '#5e1665',
    950: '#000000',
  },
}
SCSS
$custom: #5e1665;
$custom-light: #8f5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1665",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 294.684,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.14197,
    "h": 324.1
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#5E1665
secondary
#449C3B
accent
#E7414F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5E1665

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

Preview Lab → · Contrast checker → · Palette generator →

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