#5C136F#5C136F

#5C136F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.153 H 318.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#5C136F
RGBrgb(92, 19, 111)
HSLhsl(288, 71%, 25%)
HSVhsv(288, 83%, 44%)
CMYKcmyk(17.1%, 82.9%, 0%, 56.5%)
CIE-LABlab(23.30, 45.20, -36.42)
CIE-LCHlch(23.30, 58.05, 321.14°)
OKLaboklab(35.9% 0.1141 -0.1025)
OKLCHoklch(35.9% 0.153 318.1)
XYZxyz(7.5153, 3.8891, 15.3906)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C136F #266F13
analogous
#2E136F #5C136F #6F1354
triadic
#5C136F #6F5C13 #136F5C
tetradic
#5C136F #6F2E13 #266F13 #13546F
square
#5C136F #6F2E13 #266F13 #13546F
split-complementary
#5C136F #546F13 #136F2E
monochromatic
#16041A #310A3B #5C136F #871CA3 #B325D8

Accessibility & contrast

On white

11.81
#5C136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5C136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C136F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C136F#FFFFFF#000000##FFFFFF
##5C136F1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c136f;
/* rgb */ color: rgb(92, 19, 111);
/* oklch */ color: oklch(35.9% 0.153 318.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b99',
    500: '#5c136f',
    950: '#000000',
  },
}
SCSS
$custom: #5c136f;
$custom-light: #8e5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#5c136f",
  "rgb": {
    "r": 92,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 287.609,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35902,
    "c": 0.15336,
    "h": 318.1
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#5C136F
secondary
#4FA638
accent
#EE3A5F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C136F

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

Preview Lab → · Contrast checker → · Palette generator →

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