#5E1D65#5E1D65

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

Color values

HEX#5E1D65
RGBrgb(94, 29, 101)
HSLhsl(294, 55%, 25%)
HSVhsv(294, 71%, 40%)
CMYKcmyk(6.9%, 71.3%, 0%, 60.4%)
CIE-LABlab(24.32, 39.76, -28.28)
CIE-LCHlch(24.32, 48.80, 324.58°)
OKLaboklab(36.47% 0.1072 -0.0787)
OKLCHoklch(36.47% 0.133 323.7)
XYZxyz(7.4042, 4.1984, 12.7298)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D65 #24651D
analogous
#3A1D65 #5E1D65 #651D48
triadic
#5E1D65 #655E1D #1D655E
tetradic
#5E1D65 #653A1D #24651D #1D4865
square
#5E1D65 #653A1D #24651D #1D4865
split-complementary
#5E1D65 #48651D #1D653A
monochromatic
#160718 #320F35 #5E1D65 #8A2B95 #B738C4

Accessibility & contrast

On white

11.42
#5E1D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1D65
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D65#FFFFFF#000000##FFFFFF
##5E1D651.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3567
Deuteranopia (green-blind)
#293C63
Tritanopia (blue-blind)
#60293E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1d65;
/* rgb */ color: rgb(94, 29, 101);
/* oklch */ color: oklch(36.5% 0.133 323.7);
Tailwind
colors: {
  custom: {
    50: '#8e5f91',
    500: '#5e1d65',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d65;
$custom-light: #8e5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d65",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 294.167,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36474,
    "c": 0.13297,
    "h": 323.7
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#5E1D65
secondary
#4C9A44
accent
#DF4958
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0D050D
muted
#7D797D

Preview Lab

Preview with #5E1D65

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

Preview Lab → · Contrast checker → · Palette generator →

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