#5D0F5D#5D0F5D

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

Color values

HEX#5D0F5D
RGBrgb(93, 15, 93)
HSLhsl(300, 72%, 21%)
HSVhsv(300, 84%, 36%)
CMYKcmyk(0%, 83.9%, 0%, 63.5%)
CIE-LABlab(21.80, 43.22, -27.04)
CIE-LCHlch(21.80, 50.98, 327.97°)
OKLaboklab(34.47% 0.1207 -0.075)
OKLCHoklch(34.47% 0.142 328.1)
XYZxyz(6.6607, 3.4596, 10.6708)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F5D #0F5D0F
analogous
#360F5D #5D0F5D #5D0F36
triadic
#5D0F5D #5D5D0F #0F5D5D
tetradic
#5D0F5D #5D360F #0F5D0F #0F365D
square
#5D0F5D #5D360F #0F5D0F #0F365D
split-complementary
#5D0F5D #365D0F #0F5D36
monochromatic
#1A041A #280628 #5D0F5D #921792 #C620C6

Accessibility & contrast

On white

12.41
#5D0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F5D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F5D#FFFFFF#000000##FFFFFF
##5D0F5D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d0f5d;
/* rgb */ color: rgb(93, 15, 93);
/* oklch */ color: oklch(34.5% 0.142 328.1);
Tailwind
colors: {
  custom: {
    50: '#8e598b',
    500: '#5d0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f5d;
$custom-light: #8e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f5d",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.34474,
    "c": 0.14208,
    "h": 328.1
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#5D0F5D
secondary
#319631
accent
#EF3939
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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