#5E1664#5E1664

#5E1664 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.141 H 324.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#5E1664
RGBrgb(94, 22, 100)
HSLhsl(295, 64%, 24%)
HSVhsv(295, 78%, 39%)
CMYKcmyk(6%, 78%, 0%, 60.8%)
CIE-LABlab(23.25, 42.41, -29.33)
CIE-LCHlch(23.25, 51.56, 325.33°)
OKLaboklab(35.69% 0.115 -0.0817)
OKLCHoklch(35.69% 0.141 324.6)
XYZxyz(7.2031, 3.8741, 12.4225)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1664 #1C6416
analogous
#371664 #5E1664 #641643
triadic
#5E1664 #645E16 #16645E
tetradic
#5E1664 #643716 #1C6416 #164364
square
#5E1664 #643716 #1C6416 #164364
split-complementary
#5E1664 #436416 #166437
monochromatic
#180619 #2F0B32 #5E1664 #8D2196 #BC2CC8

Accessibility & contrast

On white

11.83
#5E1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1664
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1664#FFFFFF#000000##FFFFFF
##5E16641.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#263A62
Tritanopia (blue-blind)
#60243C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1664;
/* rgb */ color: rgb(94, 22, 100);
/* oklch */ color: oklch(35.7% 0.141 324.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c90',
    500: '#5e1664',
    950: '#000000',
  },
}
SCSS
$custom: #5e1664;
$custom-light: #8f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1664",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 295.385,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3569,
    "c": 0.14108,
    "h": 324.6
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#5E1664
secondary
#429B3B
accent
#E7414E
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1664

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

Preview Lab → · Contrast checker → · Palette generator →

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