#5C196A#5C196A

#5C196A is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.142 H 320.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#5C196A
RGBrgb(92, 25, 106)
HSLhsl(290, 62%, 26%)
HSVhsv(290, 76%, 42%)
CMYKcmyk(13.2%, 76.4%, 0%, 58.4%)
CIE-LABlab(23.71, 41.98, -32.53)
CIE-LCHlch(23.71, 53.10, 322.23°)
OKLaboklab(36.08% 0.1089 -0.0911)
OKLCHoklch(36.08% 0.142 320.1)
XYZxyz(7.3625, 4.0116, 14.0194)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C196A #276A19
analogous
#33196A #5C196A #6A194F
triadic
#5C196A #6A5C19 #196A5C
tetradic
#5C196A #6A3319 #276A19 #194F6A
square
#5C196A #6A3319 #276A19 #194F6A
split-complementary
#5C196A #4F6A19 #196A33
monochromatic
#150619 #310D38 #5C196A #87259C #B230CD

Accessibility & contrast

On white

11.65
#5C196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C196A
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C196A#FFFFFF#000000##FFFFFF
##5C196A1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#203B68
Tritanopia (blue-blind)
#5C2940
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c196a;
/* rgb */ color: rgb(92, 25, 106);
/* oklch */ color: oklch(36.1% 0.142 320.1);
Tailwind
colors: {
  custom: {
    50: '#8d5d95',
    500: '#5c196a',
    950: '#000000',
  },
}
SCSS
$custom: #5c196a;
$custom-light: #8d5d95;
$custom-dark: #000000;
JSON
{
  "hex": "#5c196a",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 289.63,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36077,
    "c": 0.14203,
    "h": 320.1
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#5C196A
secondary
#50A03F
accent
#E5435F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5C196A

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

Preview Lab → · Contrast checker → · Palette generator →

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