#5D136A#5D136A

#5D136A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.149 H 321.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5D136A
RGBrgb(93, 19, 106)
HSLhsl(291, 70%, 25%)
HSVhsv(291, 82%, 42%)
CMYKcmyk(12.3%, 82.1%, 0%, 58.4%)
CIE-LABlab(23.11, 44.41, -33.47)
CIE-LCHlch(23.11, 55.61, 322.99°)
OKLaboklab(35.69% 0.1161 -0.0938)
OKLCHoklch(35.69% 0.149 321.1)
XYZxyz(7.3483, 3.8339, 13.9858)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D136A #206A13
analogous
#31136A #5D136A #6A134C
triadic
#5D136A #6A5D13 #136A5D
tetradic
#5D136A #6A3113 #206A13 #134C6A
square
#5D136A #6A3113 #206A13 #134C6A
split-complementary
#5D136A #4C6A13 #136A31
monochromatic
#17051A #2F0A36 #5D136A #8B1C9E #B826D2

Accessibility & contrast

On white

11.89
#5D136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D136A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D136A#FFFFFF#000000##FFFFFF
##5D136A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1E3A68
Tritanopia (blue-blind)
#5E253E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d136a;
/* rgb */ color: rgb(93, 19, 106);
/* oklch */ color: oklch(35.7% 0.149 321.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b95',
    500: '#5d136a',
    950: '#000000',
  },
}
SCSS
$custom: #5d136a;
$custom-light: #8e5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5d136a",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 291.034,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35689,
    "c": 0.14927,
    "h": 321.1
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#5D136A
secondary
#47A138
accent
#EC3B56
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5D136A

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

Preview Lab → · Contrast checker → · Palette generator →

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