#5D135D#5D135D

#5D135D is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.138 H 328.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#5D135D
RGBrgb(93, 19, 93)
HSLhsl(300, 66%, 22%)
HSVhsv(300, 80%, 36%)
CMYKcmyk(0%, 79.6%, 0%, 63.5%)
CIE-LABlab(22.24, 41.93, -26.33)
CIE-LCHlch(22.24, 49.51, 327.87°)
OKLaboklab(34.79% 0.117 -0.073)
OKLCHoklch(34.79% 0.138 328.1)
XYZxyz(6.7228, 3.5837, 10.6914)
Luminance0.0358 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D135D #135D13
analogous
#38135D #5D135D #5D1338
triadic
#5D135D #5D5D13 #135D5D
tetradic
#5D135D #5D3813 #135D13 #13385D
square
#5D135D #5D3813 #135D13 #13385D
split-complementary
#5D135D #385D13 #135D38
monochromatic
#190519 #2A092A #5D135D #901D90 #C328C3

Accessibility & contrast

On white

12.23
#5D135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5D135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D135D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D135D#FFFFFF#000000##FFFFFF
##5D135D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042F5F
Deuteranopia (green-blind)
#28395B
Tritanopia (blue-blind)
#601F37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d135d;
/* rgb */ color: rgb(93, 19, 93);
/* oklch */ color: oklch(34.8% 0.138 328.1);
Tailwind
colors: {
  custom: {
    50: '#8e5a8b',
    500: '#5d135d',
    950: '#000000',
  },
}
SCSS
$custom: #5d135d;
$custom-light: #8e5a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d135d",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.13791,
    "h": 328.1
  },
  "luminance": 0.03583
}

Semantic roles & 50–950 ramp

primary
#5D135D
secondary
#379537
accent
#E93F3F
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D135D

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

Preview Lab → · Contrast checker → · Palette generator →

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