#5D155C#5D155C

#5D155C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.135 H 328.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#5D155C
RGBrgb(93, 21, 92)
HSLhsl(301, 63%, 22%)
HSVhsv(301, 77%, 36%)
CMYKcmyk(0%, 77.4%, 1.1%, 63.5%)
CIE-LABlab(22.43, 41.03, -25.37)
CIE-LCHlch(22.43, 48.24, 328.27°)
OKLaboklab(34.91% 0.115 -0.0702)
OKLCHoklch(34.91% 0.135 328.6)
XYZxyz(6.7141, 3.6367, 10.4715)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D155C #155D16
analogous
#3A155D #5D155C #5D1538
triadic
#5D155C #5C5D15 #155C5D
tetradic
#5D155C #5D3A15 #155D16 #15385D
square
#5D155C #5D3A15 #155D16 #15385D
split-complementary
#5D155C #385D15 #155D3A
monochromatic
#190619 #2B0A2B #5D155C #8F208D #C12CBF

Accessibility & contrast

On white

12.16
#5D155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D155C
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D155C#FFFFFF#000000##FFFFFF
##5D155C1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305E
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#602037
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d155c;
/* rgb */ color: rgb(93, 21, 92);
/* oklch */ color: oklch(34.9% 0.135 328.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b8a',
    500: '#5d155c',
    950: '#000000',
  },
}
SCSS
$custom: #5d155c;
$custom-light: #8e5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d155c",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 300.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34906,
    "c": 0.13473,
    "h": 328.6
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#5D155C
secondary
#39943B
accent
#E64442
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D155C

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

Preview Lab → · Contrast checker → · Palette generator →

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