#5E1D5F#5E1D5F

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

Color values

HEX#5E1D5F
RGBrgb(94, 29, 95)
HSLhsl(299, 53%, 24%)
HSVhsv(299, 69%, 37%)
CMYKcmyk(1.1%, 69.5%, 0%, 62.7%)
CIE-LABlab(23.95, 38.58, -24.93)
CIE-LCHlch(23.95, 45.94, 327.13°)
OKLaboklab(36.09% 0.107 -0.069)
OKLCHoklch(36.09% 0.127 327.2)
XYZxyz(7.1209, 4.0851, 11.2377)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1D5F #1E5F1D
analogous
#3D1D5F #5E1D5F #5F1D3F
triadic
#5E1D5F #5F5E1D #1D5F5E
tetradic
#5E1D5F #5F3D1D #1E5F1D #1D3F5F
square
#5E1D5F #5F3D1D #1E5F1D #1D3F5F
split-complementary
#5E1D5F #3F5F1D #1D5F3D
monochromatic
#170717 #300F30 #5E1D5F #8C2B8E #BB3ABD

Accessibility & contrast

On white

11.56
#5E1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1D5F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1D5F#FFFFFF#000000##FFFFFF
##5E1D5F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133461
Deuteranopia (green-blind)
#2C3C5D
Tritanopia (blue-blind)
#61263B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1d5f;
/* rgb */ color: rgb(94, 29, 95);
/* oklch */ color: oklch(36.1% 0.127 327.2);
Tailwind
colors: {
  custom: {
    50: '#8e5f8d',
    500: '#5e1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #5e1d5f;
$custom-light: #8e5f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1d5f",
  "rgb": {
    "r": 94,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 299.091,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.12734,
    "h": 327.2
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#5E1D5F
secondary
#459444
accent
#DD4B4D
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5E1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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