#5D135C#5D135C

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

Color values

HEX#5D135C
RGBrgb(93, 19, 92)
HSLhsl(301, 66%, 22%)
HSVhsv(301, 80%, 36%)
CMYKcmyk(0%, 79.6%, 1.1%, 63.5%)
CIE-LABlab(22.18, 41.75, -25.77)
CIE-LCHlch(22.18, 49.06, 328.32°)
OKLaboklab(34.73% 0.117 -0.0713)
OKLCHoklch(34.73% 0.137 328.6)
XYZxyz(6.6788, 3.5661, 10.4597)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D135C #135D14
analogous
#39135D #5D135C #5D1337
triadic
#5D135C #5C5D13 #135C5D
tetradic
#5D135C #5D3913 #135D14 #13375D
square
#5D135C #5D3913 #135D14 #13375D
split-complementary
#5D135C #375D13 #135D39
monochromatic
#190519 #2A092A #5D135C #901D8E #C328C1

Accessibility & contrast

On white

12.26
#5D135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5D135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D135C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D135C#FFFFFF#000000##FFFFFF
##5D135C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5E
Deuteranopia (green-blind)
#28385A
Tritanopia (blue-blind)
#601E37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d135c;
/* rgb */ color: rgb(93, 19, 92);
/* oklch */ color: oklch(34.7% 0.137 328.6);
Tailwind
colors: {
  custom: {
    50: '#8e5a8a',
    500: '#5d135c',
    950: '#000000',
  },
}
SCSS
$custom: #5d135c;
$custom-light: #8e5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d135c",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 300.811,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.13707,
    "h": 328.6
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#5D135C
secondary
#379538
accent
#E9413F
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D135C

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

Preview Lab → · Contrast checker → · Palette generator →

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