#5E1D66#5E1D66

#5E1D66 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.5% C 0.134 H 323.1°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#5E1D66
RGBrgb(94, 29, 102)
HSLhsl(293, 56%, 26%)
HSVhsv(293, 72%, 40%)
CMYKcmyk(7.8%, 71.6%, 0%, 60%)
CIE-LABlab(24.38, 39.96, -28.84)
CIE-LCHlch(24.38, 49.28, 324.19°)
OKLaboklab(36.54% 0.1072 -0.0803)
OKLCHoklch(36.54% 0.134 323.1)
XYZxyz(7.4535, 4.2181, 12.9894)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D66 #25661D
analogous
#391D66 #5E1D66 #661D49
triadic
#5E1D66 #665E1D #1D665E
tetradic
#5E1D66 #66391D #25661D #1D4966
square
#5E1D66 #66391D #25661D #1D4966
split-complementary
#5E1D66 #49661D #1D6639
monochromatic
#160718 #320F36 #5E1D66 #8A2B96 #B638C5

Accessibility & contrast

On white

11.39
#5E1D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E1D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D66
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D66#FFFFFF#000000##FFFFFF
##5E1D661.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093568
Deuteranopia (green-blind)
#283C64
Tritanopia (blue-blind)
#60293F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1d66;
/* rgb */ color: rgb(94, 29, 102);
/* oklch */ color: oklch(36.5% 0.134 323.1);
Tailwind
colors: {
  custom: {
    50: '#8e5f92',
    500: '#5e1d66',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d66;
$custom-light: #8e5f92;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d66",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 293.425,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3654,
    "c": 0.13393,
    "h": 323.1
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#5E1D66
secondary
#4D9B44
accent
#DF4959
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5E1D66

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

Preview Lab → · Contrast checker → · Palette generator →

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