#5C136E#5C136E

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

Color values

HEX#5C136E
RGBrgb(92, 19, 110)
HSLhsl(288, 71%, 25%)
HSVhsv(288, 83%, 43%)
CMYKcmyk(16.4%, 82.7%, 0%, 56.9%)
CIE-LABlab(23.23, 45.00, -35.89)
CIE-LCHlch(23.23, 57.56, 321.42°)
OKLaboklab(35.83% 0.1142 -0.101)
OKLCHoklch(35.83% 0.152 318.5)
XYZxyz(7.4606, 3.8672, 15.1023)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C136E #256E13
analogous
#2E136E #5C136E #6E1352
triadic
#5C136E #6E5C13 #136E5C
tetradic
#5C136E #6E2E13 #256E13 #13526E
square
#5C136E #6E2E13 #256E13 #13526E
split-complementary
#5C136E #526E13 #136E2E
monochromatic
#16051A #300A3A #5C136E #881CA2 #B325D6

Accessibility & contrast

On white

11.84
#5C136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C136E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C136E#FFFFFF#000000##FFFFFF
##5C136E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#183A6C
Tritanopia (blue-blind)
#5C2741
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c136e;
/* rgb */ color: rgb(92, 19, 110);
/* oklch */ color: oklch(35.8% 0.152 318.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b98',
    500: '#5c136e',
    950: '#000000',
  },
}
SCSS
$custom: #5c136e;
$custom-light: #8e5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#5c136e",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 288.132,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.35826,
    "c": 0.15245,
    "h": 318.5
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#5C136E
secondary
#4DA538
accent
#ED3A5E
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C136E

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

Preview Lab → · Contrast checker → · Palette generator →

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