#5D0D56#5D0D56

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

Color values

HEX#5D0D56
RGBrgb(93, 13, 86)
HSLhsl(305, 75%, 21%)
HSVhsv(305, 86%, 36%)
CMYKcmyk(0%, 86%, 7.5%, 63.5%)
CIE-LABlab(21.16, 42.58, -23.38)
CIE-LCHlch(21.16, 48.58, 331.23°)
OKLaboklab(33.88% 0.1224 -0.0644)
OKLCHoklch(33.88% 0.138 332.3)
XYZxyz(6.3379, 3.2874, 9.1030)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D56 #0D5D14
analogous
#3C0D5D #5D0D56 #5D0D2E
triadic
#5D0D56 #565D0D #0D565D
tetradic
#5D0D56 #5D3C0D #0D5D14 #0D2E5D
square
#5D0D56 #5D3C0D #0D5D14 #0D2E5D
split-complementary
#5D0D56 #2E5D0D #0D5D3C
monochromatic
#1B0419 #270524 #5D0D56 #931588 #C81CB9

Accessibility & contrast

On white

12.67
#5D0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0D56
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D56#FFFFFF#000000##FFFFFF
##5D0D561.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C58
Deuteranopia (green-blind)
#293754
Tritanopia (blue-blind)
#611832
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0d56;
/* rgb */ color: rgb(93, 13, 86);
/* oklch */ color: oklch(33.9% 0.138 332.3);
Tailwind
colors: {
  custom: {
    50: '#8e5886',
    500: '#5d0d56',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d56;
$custom-light: #8e5886;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d56",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 305.25,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33879,
    "c": 0.13833,
    "h": 332.3
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#5D0D56
secondary
#2F9738
accent
#F24636
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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