#5C136A#5C136A

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

Color values

HEX#5C136A
RGBrgb(92, 19, 106)
HSLhsl(290, 70%, 25%)
HSVhsv(290, 82%, 42%)
CMYKcmyk(13.2%, 82.1%, 0%, 58.4%)
CIE-LABlab(22.94, 44.19, -33.77)
CIE-LCHlch(22.94, 55.62, 322.62°)
OKLaboklab(35.53% 0.1148 -0.0947)
OKLCHoklch(35.53% 0.149 320.5)
XYZxyz(7.2477, 3.7821, 13.9811)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C136A #216A13
analogous
#31136A #5C136A #6A134D
triadic
#5C136A #6A5C13 #136A5C
tetradic
#5C136A #6A3113 #216A13 #134D6A
square
#5C136A #6A3113 #216A13 #134D6A
split-complementary
#5C136A #4D6A13 #136A31
monochromatic
#17051A #2F0A36 #5C136A #891C9E #B626D2

Accessibility & contrast

On white

11.96
#5C136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5C136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C136A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C136A#FFFFFF#000000##FFFFFF
##5C136A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c136a;
/* rgb */ color: rgb(92, 19, 106);
/* oklch */ color: oklch(35.5% 0.149 320.5);
Tailwind
colors: {
  custom: {
    50: '#8d5b95',
    500: '#5c136a',
    950: '#000000',
  },
}
SCSS
$custom: #5c136a;
$custom-light: #8d5b95;
$custom-dark: #000000;
JSON
{
  "hex": "#5c136a",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 290.345,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.14884,
    "h": 320.5
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#5C136A
secondary
#49A138
accent
#EC3B58
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C136A

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

Preview Lab → · Contrast checker → · Palette generator →

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