#5D0D51#5D0D51

#5D0D51 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.134 H 335.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#5D0D51
RGBrgb(93, 13, 81)
HSLhsl(309, 75%, 21%)
HSVhsv(309, 86%, 36%)
CMYKcmyk(0%, 86%, 12.9%, 63.5%)
CIE-LABlab(20.86, 41.76, -20.48)
CIE-LCHlch(20.86, 46.51, 333.87°)
OKLaboklab(33.57% 0.1223 -0.056)
OKLCHoklch(33.57% 0.134 335.4)
XYZxyz(6.1434, 3.2097, 8.0790)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D51 #0D5D19
analogous
#410D5D #5D0D51 #5D0D29
triadic
#5D0D51 #515D0D #0D515D
tetradic
#5D0D51 #5D410D #0D5D19 #0D295D
square
#5D0D51 #5D410D #0D5D19 #0D295D
split-complementary
#5D0D51 #295D0D #0D5D41
monochromatic
#1B0417 #270522 #5D0D51 #931580 #C81CAF

Accessibility & contrast

On white

12.79
#5D0D51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D0D51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0D51
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D51#FFFFFF#000000##FFFFFF
##5D0D511.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2B53
Deuteranopia (green-blind)
#2C364F
Tritanopia (blue-blind)
#62152F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0d51;
/* rgb */ color: rgb(93, 13, 81);
/* oklch */ color: oklch(33.6% 0.134 335.4);
Tailwind
colors: {
  custom: {
    50: '#8e5782',
    500: '#5d0d51',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d51;
$custom-light: #8e5782;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d51",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 81
  },
  "hsl": {
    "h": 309,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.13447,
    "h": 335.4
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#5D0D51
secondary
#2F973E
accent
#F25236
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0D51

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

Preview Lab → · Contrast checker → · Palette generator →

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