#5D136F#5D136F

#5D136F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.1% C 0.154 H 318.6°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#5D136F
RGBrgb(93, 19, 111)
HSLhsl(288, 71%, 25%)
HSVhsv(288, 83%, 44%)
CMYKcmyk(16.2%, 82.9%, 0%, 56.5%)
CIE-LABlab(23.48, 45.41, -36.13)
CIE-LCHlch(23.48, 58.03, 321.49°)
OKLaboklab(36.06% 0.1154 -0.1016)
OKLCHoklch(36.06% 0.154 318.6)
XYZxyz(7.6159, 3.9410, 15.3954)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D136F #256F13
analogous
#2F136F #5D136F #6F1353
triadic
#5D136F #6F5D13 #136F5D
tetradic
#5D136F #6F2F13 #256F13 #13536F
square
#5D136F #6F2F13 #256F13 #13536F
split-complementary
#5D136F #536F13 #136F2F
monochromatic
#16041A #310A3B #5D136F #891CA3 #B525D8

Accessibility & contrast

On white

11.74
#5D136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D136F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D136F#FFFFFF#000000##FFFFFF
##5D136F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#193A6D
Tritanopia (blue-blind)
#5D2841
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d136f;
/* rgb */ color: rgb(93, 19, 111);
/* oklch */ color: oklch(36.1% 0.154 318.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b99',
    500: '#5d136f',
    950: '#000000',
  },
}
SCSS
$custom: #5d136f;
$custom-light: #8e5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#5d136f",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 288.261,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.15376,
    "h": 318.6
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#5D136F
secondary
#4DA638
accent
#EE3A5D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D136F

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

Preview Lab → · Contrast checker → · Palette generator →

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