#5D105D#5D105D

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

Color values

HEX#5D105D
RGBrgb(93, 16, 93)
HSLhsl(300, 71%, 21%)
HSVhsv(300, 83%, 36%)
CMYKcmyk(0%, 82.8%, 0%, 63.5%)
CIE-LABlab(21.90, 42.91, -26.87)
CIE-LCHlch(21.90, 50.63, 327.95°)
OKLaboklab(34.55% 0.1198 -0.0745)
OKLCHoklch(34.55% 0.141 328.1)
XYZxyz(6.6752, 3.4886, 10.6756)
Luminance0.0349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D105D #105D10
analogous
#37105D #5D105D #5D1037
triadic
#5D105D #5D5D10 #105D5D
tetradic
#5D105D #5D3710 #105D10 #10375D
square
#5D105D #5D3710 #105D10 #10375D
split-complementary
#5D105D #375D10 #105D37
monochromatic
#1A041A #290729 #5D105D #911991 #C522C5

Accessibility & contrast

On white

12.37
#5D105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D105D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D105D#FFFFFF#000000##FFFFFF
##5D105D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.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: #5d105d;
/* rgb */ color: rgb(93, 16, 93);
/* oklch */ color: oklch(34.5% 0.141 328.1);
Tailwind
colors: {
  custom: {
    50: '#8e598b',
    500: '#5d105d',
    950: '#000000',
  },
}
SCSS
$custom: #5d105d;
$custom-light: #8e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d105d",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34549,
    "c": 0.1411,
    "h": 328.1
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#5D105D
secondary
#339633
accent
#ED3A3A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D105D

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

Preview Lab → · Contrast checker → · Palette generator →

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