#5D0D5B#5D0D5B

#5D0D5B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.142 H 329.3°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#5D0D5B
RGBrgb(93, 13, 91)
HSLhsl(302, 75%, 21%)
HSVhsv(302, 86%, 36%)
CMYKcmyk(0%, 86%, 2.2%, 63.5%)
CIE-LABlab(21.47, 43.44, -26.23)
CIE-LCHlch(21.47, 50.74, 328.87°)
OKLaboklab(34.2% 0.1224 -0.0727)
OKLCHoklch(34.2% 0.142 329.3)
XYZxyz(6.5464, 3.3709, 10.2014)
Luminance0.0337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D5B #0D5D0F
analogous
#370D5D #5D0D5B #5D0D33
triadic
#5D0D5B #5B5D0D #0D5B5D
tetradic
#5D0D5B #5D370D #0D5D0F #0D335D
square
#5D0D5B #5D370D #0D5D0F #0D335D
split-complementary
#5D0D5B #335D0D #0D5D37
monochromatic
#1B041A #270526 #5D0D5B #931590 #C81CC4

Accessibility & contrast

On white

12.54
#5D0D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D0D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0D5B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D5B#FFFFFF#000000##FFFFFF
##5D0D5B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#611A35
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0d5b;
/* rgb */ color: rgb(93, 13, 91);
/* oklch */ color: oklch(34.2% 0.142 329.3);
Tailwind
colors: {
  custom: {
    50: '#8e588a',
    500: '#5d0d5b',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d5b;
$custom-light: #8e588a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d5b",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 91
  },
  "hsl": {
    "h": 301.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.34201,
    "c": 0.14231,
    "h": 329.3
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#5D0D5B
secondary
#2F9731
accent
#F23A36
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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