#5D0F5E#5D0F5E

#5D0F5E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.143 H 327.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#5D0F5E
RGBrgb(93, 15, 94)
HSLhsl(299, 72%, 21%)
HSVhsv(299, 84%, 37%)
CMYKcmyk(1.1%, 84%, 0%, 63.1%)
CIE-LABlab(21.86, 43.40, -27.60)
CIE-LCHlch(21.86, 51.43, 327.54°)
OKLaboklab(34.54% 0.1206 -0.0766)
OKLCHoklch(34.54% 0.143 327.6)
XYZxyz(6.7053, 3.4775, 10.9056)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F5E #105E0F
analogous
#360F5E #5D0F5E #5E0F38
triadic
#5D0F5E #5E5D0F #0F5E5D
tetradic
#5D0F5E #5E360F #105E0F #0F385E
square
#5D0F5E #5E360F #105E0F #0F385E
split-complementary
#5D0F5E #385E0F #0F5E36
monochromatic
#1A041A #290729 #5D0F5E #911793 #C520C8

Accessibility & contrast

On white

12.39
#5D0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5D0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F5E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F5E#FFFFFF#000000##FFFFFF
##5D0F5E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#25385C
Tritanopia (blue-blind)
#601D37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d0f5e;
/* rgb */ color: rgb(93, 15, 94);
/* oklch */ color: oklch(34.5% 0.143 327.6);
Tailwind
colors: {
  custom: {
    50: '#8e598c',
    500: '#5d0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f5e;
$custom-light: #8e598c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f5e",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 299.241,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34541,
    "c": 0.14291,
    "h": 327.6
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#5D0F5E
secondary
#339731
accent
#EF393B
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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