#5D0E5D#5D0E5D

#5D0E5D is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.143 H 328.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#5D0E5D
RGBrgb(93, 14, 93)
HSLhsl(300, 74%, 21%)
HSVhsv(300, 85%, 36%)
CMYKcmyk(0%, 84.9%, 0%, 63.5%)
CIE-LABlab(21.70, 43.51, -27.20)
CIE-LCHlch(21.70, 51.31, 327.99°)
OKLaboklab(34.4% 0.1215 -0.0755)
OKLCHoklch(34.4% 0.143 328.1)
XYZxyz(6.6469, 3.4320, 10.6662)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E5D #0E5D0E
analogous
#350E5D #5D0E5D #5D0E35
triadic
#5D0E5D #5D5D0E #0E5D5D
tetradic
#5D0E5D #5D350E #0E5D0E #0E355D
square
#5D0E5D #5D350E #0E5D0E #0E355D
split-complementary
#5D0E5D #355D0E #0E5D35
monochromatic
#1B041B #280628 #5D0E5D #921692 #C71EC7

Accessibility & contrast

On white

12.45
#5D0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5D0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E5D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E5D#FFFFFF#000000##FFFFFF
##5D0E5D1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#26375B
Tritanopia (blue-blind)
#601C36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d0e5d;
/* rgb */ color: rgb(93, 14, 93);
/* oklch */ color: oklch(34.4% 0.143 328.1);
Tailwind
colors: {
  custom: {
    50: '#8e588b',
    500: '#5d0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e5d;
$custom-light: #8e588b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e5d",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34403,
    "c": 0.14303,
    "h": 328.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#5D0E5D
secondary
#309730
accent
#F03737
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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