#5D0D55#5D0D55

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

Color values

HEX#5D0D55
RGBrgb(93, 13, 85)
HSLhsl(306, 75%, 21%)
HSVhsv(306, 86%, 36%)
CMYKcmyk(0%, 86%, 8.6%, 63.5%)
CIE-LABlab(21.10, 42.42, -22.81)
CIE-LCHlch(21.10, 48.16, 331.73°)
OKLaboklab(33.82% 0.1224 -0.0627)
OKLCHoklch(33.82% 0.138 332.9)
XYZxyz(6.2979, 3.2714, 8.8923)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D55 #0D5D15
analogous
#3D0D5D #5D0D55 #5D0D2D
triadic
#5D0D55 #555D0D #0D555D
tetradic
#5D0D55 #5D3D0D #0D5D15 #0D2D5D
square
#5D0D55 #5D3D0D #0D5D15 #0D2D5D
split-complementary
#5D0D55 #2D5D0D #0D5D3D
monochromatic
#1B0419 #270524 #5D0D55 #931586 #C81CB7

Accessibility & contrast

On white

12.69
#5D0D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0D55
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D55#FFFFFF#000000##FFFFFF
##5D0D551.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C57
Deuteranopia (green-blind)
#2A3753
Tritanopia (blue-blind)
#621731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d0d55;
/* rgb */ color: rgb(93, 13, 85);
/* oklch */ color: oklch(33.8% 0.138 332.9);
Tailwind
colors: {
  custom: {
    50: '#8e5885',
    500: '#5d0d55',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d55;
$custom-light: #8e5885;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d55",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 306,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33816,
    "c": 0.13755,
    "h": 332.9
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#5D0D55
secondary
#2F9739
accent
#F24936
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5D0D55

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

Preview Lab → · Contrast checker → · Palette generator →

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