#5D0E5C#5D0E5C

#5D0E5C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.142 H 328.7°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5D0E5C
RGBrgb(93, 14, 92)
HSLhsl(301, 74%, 21%)
HSVhsv(301, 85%, 36%)
CMYKcmyk(0%, 84.9%, 1.1%, 63.5%)
CIE-LABlab(21.63, 43.33, -26.64)
CIE-LCHlch(21.63, 50.87, 328.42°)
OKLaboklab(34.34% 0.1215 -0.0738)
OKLCHoklch(34.34% 0.142 328.7)
XYZxyz(6.6029, 3.4144, 10.4344)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E5C #0E5D0F
analogous
#360E5D #5D0E5C #5D0E34
triadic
#5D0E5C #5C5D0E #0E5C5D
tetradic
#5D0E5C #5D360E #0E5D0F #0E345D
square
#5D0E5C #5D360E #0E5D0F #0E345D
split-complementary
#5D0E5C #345D0E #0E5D36
monochromatic
#1B041A #280627 #5D0E5C #921691 #C71EC5

Accessibility & contrast

On white

12.48
#5D0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5D0E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E5C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E5C#FFFFFF#000000##FFFFFF
##5D0E5C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#601C35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d0e5c;
/* rgb */ color: rgb(93, 14, 92);
/* oklch */ color: oklch(34.3% 0.142 328.7);
Tailwind
colors: {
  custom: {
    50: '#8e588a',
    500: '#5d0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e5c;
$custom-light: #8e588a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e5c",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 300.759,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.34336,
    "c": 0.14221,
    "h": 328.7
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#5D0E5C
secondary
#309731
accent
#F03A37
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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