#5D0D57#5D0D57

#5D0D57 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.139 H 331.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5D0D57
RGBrgb(93, 13, 87)
HSLhsl(305, 75%, 21%)
HSVhsv(305, 86%, 36%)
CMYKcmyk(0%, 86%, 6.5%, 63.5%)
CIE-LABlab(21.22, 42.75, -23.96)
CIE-LCHlch(21.22, 49.00, 330.73°)
OKLaboklab(33.94% 0.1224 -0.066)
OKLCHoklch(33.94% 0.139 331.7)
XYZxyz(6.3784, 3.3037, 9.3167)
Luminance0.0330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D57 #0D5D13
analogous
#3B0D5D #5D0D57 #5D0D2F
triadic
#5D0D57 #575D0D #0D575D
tetradic
#5D0D57 #5D3B0D #0D5D13 #0D2F5D
square
#5D0D57 #5D3B0D #0D5D13 #0D2F5D
split-complementary
#5D0D57 #2F5D0D #0D5D3B
monochromatic
#1B0419 #270525 #5D0D57 #931589 #C81CBB

Accessibility & contrast

On white

12.65
#5D0D57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D0D57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0D57
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D57#FFFFFF#000000##FFFFFF
##5D0D571.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C59
Deuteranopia (green-blind)
#293755
Tritanopia (blue-blind)
#611832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0d57;
/* rgb */ color: rgb(93, 13, 87);
/* oklch */ color: oklch(33.9% 0.139 331.7);
Tailwind
colors: {
  custom: {
    50: '#8e5887',
    500: '#5d0d57',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d57;
$custom-light: #8e5887;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d57",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 87
  },
  "hsl": {
    "h": 304.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.13912,
    "h": 331.7
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#5D0D57
secondary
#2F9736
accent
#F24436
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0D57

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

Preview Lab → · Contrast checker → · Palette generator →

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