#5D115D#5D115D

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

Color values

HEX#5D115D
RGBrgb(93, 17, 93)
HSLhsl(300, 69%, 22%)
HSVhsv(300, 82%, 36%)
CMYKcmyk(0%, 81.7%, 0%, 63.5%)
CIE-LABlab(22.01, 42.60, -26.70)
CIE-LCHlch(22.01, 50.27, 327.92°)
OKLaboklab(34.63% 0.1189 -0.074)
OKLCHoklch(34.63% 0.14 328.1)
XYZxyz(6.6904, 3.5189, 10.6806)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D115D #115D11
analogous
#37115D #5D115D #5D1137
triadic
#5D115D #5D5D11 #115D5D
tetradic
#5D115D #5D3711 #115D11 #11375D
square
#5D115D #5D3711 #115D11 #11375D
split-complementary
#5D115D #375D11 #115D37
monochromatic
#1A051A #290829 #5D115D #911A91 #C424C4

Accessibility & contrast

On white

12.33
#5D115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D115D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D115D#FFFFFF#000000##FFFFFF
##5D115D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#27385B
Tritanopia (blue-blind)
#601E37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d115d;
/* rgb */ color: rgb(93, 17, 93);
/* oklch */ color: oklch(34.6% 0.140 328.1);
Tailwind
colors: {
  custom: {
    50: '#8e598b',
    500: '#5d115d',
    950: '#000000',
  },
}
SCSS
$custom: #5d115d;
$custom-light: #8e598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d115d",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.14008,
    "h": 328.1
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#5D115D
secondary
#349634
accent
#EC3C3C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D115D

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

Preview Lab → · Contrast checker → · Palette generator →

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