#5D0D54#5D0D54

#5D0D54 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.137 H 333.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#5D0D54
RGBrgb(93, 13, 84)
HSLhsl(307, 75%, 21%)
HSVhsv(307, 86%, 36%)
CMYKcmyk(0%, 86%, 9.7%, 63.5%)
CIE-LABlab(21.04, 42.25, -22.23)
CIE-LCHlch(21.04, 47.74, 332.25°)
OKLaboklab(33.75% 0.1224 -0.0611)
OKLCHoklch(33.75% 0.137 333.5)
XYZxyz(6.2584, 3.2557, 8.6846)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D54 #0D5D16
analogous
#3E0D5D #5D0D54 #5D0D2C
triadic
#5D0D54 #545D0D #0D545D
tetradic
#5D0D54 #5D3E0D #0D5D16 #0D2C5D
square
#5D0D54 #5D3E0D #0D5D16 #0D2C5D
split-complementary
#5D0D54 #2C5D0D #0D5D3E
monochromatic
#1B0418 #270524 #5D0D54 #931584 #C81CB5

Accessibility & contrast

On white

12.72
#5D0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D0D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0D54
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D54#FFFFFF#000000##FFFFFF
##5D0D541.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092B56
Deuteranopia (green-blind)
#2A3752
Tritanopia (blue-blind)
#621631
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0d54;
/* rgb */ color: rgb(93, 13, 84);
/* oklch */ color: oklch(33.8% 0.137 333.5);
Tailwind
colors: {
  custom: {
    50: '#8e5884',
    500: '#5d0d54',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d54;
$custom-light: #8e5884;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d54",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 306.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.13678,
    "h": 333.5
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#5D0D54
secondary
#2F973A
accent
#F24B36
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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