#5D0E51#5D0E51

#5D0E51 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.134 H 335.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5D0E51
RGBrgb(93, 14, 81)
HSLhsl(309, 74%, 21%)
HSVhsv(309, 85%, 36%)
CMYKcmyk(0%, 84.9%, 12.9%, 63.5%)
CIE-LABlab(20.96, 41.47, -20.32)
CIE-LCHlch(20.96, 46.18, 333.89°)
OKLaboklab(33.64% 0.1214 -0.0556)
OKLCHoklch(33.64% 0.134 335.4)
XYZxyz(6.1565, 3.2359, 8.0833)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E51 #0E5D1A
analogous
#410E5D #5D0E51 #5D0E29
triadic
#5D0E51 #515D0E #0E515D
tetradic
#5D0E51 #5D410E #0E5D1A #0E295D
square
#5D0E51 #5D410E #0E5D1A #0E295D
split-complementary
#5D0E51 #295D0E #0E5D41
monochromatic
#1B0417 #280623 #5D0E51 #92167F #C71EAE

Accessibility & contrast

On white

12.75
#5D0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0E51
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E51#FFFFFF#000000##FFFFFF
##5D0E511.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2B53
Deuteranopia (green-blind)
#2C364F
Tritanopia (blue-blind)
#62152F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0e51;
/* rgb */ color: rgb(93, 14, 81);
/* oklch */ color: oklch(33.6% 0.134 335.4);
Tailwind
colors: {
  custom: {
    50: '#8e5882',
    500: '#5d0e51',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e51;
$custom-light: #8e5882;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e51",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 309.114,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.13351,
    "h": 335.4
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#5D0E51
secondary
#309740
accent
#F05337
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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