#5E1D69#5E1D69

#5E1D69 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.7% C 0.137 H 321.5°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#5E1D69
RGBrgb(94, 29, 105)
HSLhsl(291, 57%, 26%)
HSVhsv(291, 72%, 41%)
CMYKcmyk(10.5%, 72.4%, 0%, 58.8%)
CIE-LABlab(24.57, 40.58, -30.48)
CIE-LCHlch(24.57, 50.75, 323.09°)
OKLaboklab(36.74% 0.1071 -0.0851)
OKLCHoklch(36.74% 0.137 321.5)
XYZxyz(7.6050, 4.2787, 13.7872)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D69 #28691D
analogous
#381D69 #5E1D69 #691D4E
triadic
#5E1D69 #695E1D #1D695E
tetradic
#5E1D69 #69381D #28691D #1D4E69
square
#5E1D69 #69381D #28691D #1D4E69
split-complementary
#5E1D69 #4E691D #1D6938
monochromatic
#150718 #331039 #5E1D69 #892A99 #B338C8

Accessibility & contrast

On white

11.32
#5E1D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5E1D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1D69
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D69#FFFFFF#000000##FFFFFF
##5E1D691.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03366B
Deuteranopia (green-blind)
#263D67
Tritanopia (blue-blind)
#5F2A40
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1d69;
/* rgb */ color: rgb(94, 29, 105);
/* oklch */ color: oklch(36.7% 0.137 321.5);
Tailwind
colors: {
  custom: {
    50: '#8e5f94',
    500: '#5e1d69',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d69;
$custom-light: #8e5f94;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d69",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 105
  },
  "hsl": {
    "h": 291.316,
    "s": 56.716,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3674,
    "c": 0.13681,
    "h": 321.5
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#5E1D69
secondary
#519E44
accent
#E0485E
background
#F9F5F9
surface
#F1EAF1
border
#CBC6CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1D69

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

Preview Lab → · Contrast checker → · Palette generator →

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