#5C136D#5C136D

#5C136D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.152 H 319.0°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5C136D
RGBrgb(92, 19, 109)
HSLhsl(289, 70%, 25%)
HSVhsv(289, 83%, 43%)
CMYKcmyk(15.6%, 82.6%, 0%, 57.3%)
CIE-LABlab(23.15, 44.80, -35.37)
CIE-LCHlch(23.15, 57.07, 321.71°)
OKLaboklab(35.75% 0.1144 -0.0994)
OKLCHoklch(35.75% 0.152 319)
XYZxyz(7.4065, 3.8455, 14.8172)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C136D #246D13
analogous
#2F136D #5C136D #6D1351
triadic
#5C136D #6D5C13 #136D5C
tetradic
#5C136D #6D2F13 #246D13 #13516D
square
#5C136D #6D2F13 #246D13 #13516D
split-complementary
#5C136D #516D13 #136D2F
monochromatic
#16051A #300A39 #5C136D #881CA1 #B425D5

Accessibility & contrast

On white

11.87
#5C136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C136D
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C136D#FFFFFF#000000##FFFFFF
##5C136D1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#1A396B
Tritanopia (blue-blind)
#5C2740
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c136d;
/* rgb */ color: rgb(92, 19, 109);
/* oklch */ color: oklch(35.8% 0.152 319.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b97',
    500: '#5c136d',
    950: '#000000',
  },
}
SCSS
$custom: #5c136d;
$custom-light: #8e5b97;
$custom-dark: #000000;
JSON
{
  "hex": "#5c136d",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 288.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35751,
    "c": 0.15154,
    "h": 319
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#5C136D
secondary
#4CA438
accent
#ED3B5C
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5C136D

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

Preview Lab → · Contrast checker → · Palette generator →

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