#5D0F5C#5D0F5C

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

Color values

HEX#5D0F5C
RGBrgb(93, 15, 92)
HSLhsl(301, 72%, 21%)
HSVhsv(301, 84%, 36%)
CMYKcmyk(0%, 83.9%, 1.1%, 63.5%)
CIE-LABlab(21.73, 43.04, -26.48)
CIE-LCHlch(21.73, 50.53, 328.40°)
OKLaboklab(34.41% 0.1207 -0.0734)
OKLCHoklch(34.41% 0.141 328.7)
XYZxyz(6.6167, 3.4420, 10.4390)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F5C #0F5D10
analogous
#370F5D #5D0F5C #5D0F35
triadic
#5D0F5C #5C5D0F #0F5C5D
tetradic
#5D0F5C #5D370F #0F5D10 #0F355D
square
#5D0F5C #5D370F #0F5D10 #0F355D
split-complementary
#5D0F5C #355D0F #0F5D37
monochromatic
#1A041A #280628 #5D0F5C #921790 #C620C4

Accessibility & contrast

On white

12.44
#5D0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F5C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F5C#FFFFFF#000000##FFFFFF
##5D0F5C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5E
Deuteranopia (green-blind)
#27385A
Tritanopia (blue-blind)
#601C36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d0f5c;
/* rgb */ color: rgb(93, 15, 92);
/* oklch */ color: oklch(34.4% 0.141 328.7);
Tailwind
colors: {
  custom: {
    50: '#8e598a',
    500: '#5d0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f5c;
$custom-light: #8e598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f5c",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 300.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34408,
    "c": 0.14126,
    "h": 328.7
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#5D0F5C
secondary
#319633
accent
#EF3B39
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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