#5C196E#5C196E

#5C196E is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.4% C 0.146 H 318.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5C196E
RGBrgb(92, 25, 110)
HSLhsl(287, 63%, 26%)
HSVhsv(287, 77%, 43%)
CMYKcmyk(16.4%, 77.3%, 0%, 56.9%)
CIE-LABlab(23.99, 42.81, -34.67)
CIE-LCHlch(23.99, 55.09, 321.00°)
OKLaboklab(36.36% 0.1085 -0.0974)
OKLCHoklch(36.36% 0.146 318.1)
XYZxyz(7.5753, 4.0967, 15.1405)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C196E #2B6E19
analogous
#32196E #5C196E #6E1956
triadic
#5C196E #6E5C19 #196E5C
tetradic
#5C196E #6E3219 #2B6E19 #19566E
square
#5C196E #6E3219 #2B6E19 #19566E
split-complementary
#5C196E #566E19 #196E32
monochromatic
#150619 #320E3C #5C196E #8624A0 #AF31D0

Accessibility & contrast

On white

11.54
#5C196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C196E
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C196E#FFFFFF#000000##FFFFFF
##5C196E1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#1D3B6C
Tritanopia (blue-blind)
#5B2B42
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c196e;
/* rgb */ color: rgb(92, 25, 110);
/* oklch */ color: oklch(36.4% 0.146 318.1);
Tailwind
colors: {
  custom: {
    50: '#8d5d98',
    500: '#5c196e',
    950: '#000000',
  },
}
SCSS
$custom: #5c196e;
$custom-light: #8d5d98;
$custom-dark: #000000;
JSON
{
  "hex": "#5c196e",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 287.294,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.14584,
    "h": 318.1
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#5C196E
secondary
#55A33F
accent
#E64265
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D050E
muted
#7D797E

Preview Lab

Preview with #5C196E

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

Preview Lab → · Contrast checker → · Palette generator →

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