#5D155D#5D155D

#5D155D is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.136 H 328.0°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5D155D
RGBrgb(93, 21, 93)
HSLhsl(300, 63%, 22%)
HSVhsv(300, 77%, 36%)
CMYKcmyk(0%, 77.4%, 0%, 63.5%)
CIE-LABlab(22.49, 41.22, -25.93)
CIE-LCHlch(22.49, 48.70, 327.82°)
OKLaboklab(34.97% 0.115 -0.0718)
OKLCHoklch(34.97% 0.136 328)
XYZxyz(6.7581, 3.6543, 10.7032)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D155D #155D15
analogous
#39155D #5D155D #5D1539
triadic
#5D155D #5D5D15 #155D5D
tetradic
#5D155D #5D3915 #155D15 #15395D
square
#5D155D #5D3915 #155D15 #15395D
split-complementary
#5D155D #395D15 #155D39
monochromatic
#190619 #2B0A2B #5D155D #8F208F #C12CC1

Accessibility & contrast

On white

12.13
#5D155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5D155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D155D
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D155D#FFFFFF#000000##FFFFFF
##5D155D1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07305F
Deuteranopia (green-blind)
#29395B
Tritanopia (blue-blind)
#602038
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d155d;
/* rgb */ color: rgb(93, 21, 93);
/* oklch */ color: oklch(35.0% 0.136 328.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b8b',
    500: '#5d155d',
    950: '#000000',
  },
}
SCSS
$custom: #5d155d;
$custom-light: #8e5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d155d",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.1356,
    "h": 328
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#5D155D
secondary
#399439
accent
#E64242
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D155D

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

Preview Lab → · Contrast checker → · Palette generator →

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