#5E1E5D#5E1E5D

#5E1E5D is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.1% C 0.124 H 328.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5E1E5D
RGBrgb(94, 30, 93)
HSLhsl(301, 52%, 24%)
HSVhsv(301, 68%, 37%)
CMYKcmyk(0%, 68.1%, 1.1%, 63.1%)
CIE-LABlab(24.00, 37.74, -23.55)
CIE-LCHlch(24.00, 44.49, 328.04°)
OKLaboklab(36.09% 0.1056 -0.065)
OKLCHoklch(36.09% 0.124 328.4)
XYZxyz(7.0561, 4.0990, 10.7733)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1E5D #1E5E1F
analogous
#3F1E5E #5E1E5D #5E1E3D
triadic
#5E1E5D #5D5E1E #1E5D5E
tetradic
#5E1E5D #5E3F1E #1E5E1F #1E3D5E
square
#5E1E5D #5E3F1E #1E5E1F #1E3D5E
split-complementary
#5E1E5D #3D5E1E #1E5E3F
monochromatic
#170717 #300F2F #5E1E5D #8C2D8B #BB3CB9

Accessibility & contrast

On white

11.54
#5E1E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5E1E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1E5D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1E5D#FFFFFF#000000##FFFFFF
##5E1E5D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16345F
Deuteranopia (green-blind)
#2E3C5B
Tritanopia (blue-blind)
#61263A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1e5d;
/* rgb */ color: rgb(94, 30, 93);
/* oklch */ color: oklch(36.1% 0.124 328.4);
Tailwind
colors: {
  custom: {
    50: '#8e5f8b',
    500: '#5e1e5d',
    950: '#000000',
  },
}
SCSS
$custom: #5e1e5d;
$custom-light: #8e5f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1e5d",
  "rgb": {
    "r": 94,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 300.938,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36087,
    "c": 0.12402,
    "h": 328.4
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#5E1E5D
secondary
#459346
accent
#DB4F4D
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5E1E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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