#5C1160#5C1160

#5C1160 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.142 H 325.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#5C1160
RGBrgb(92, 17, 96)
HSLhsl(297, 70%, 22%)
HSVhsv(297, 82%, 38%)
CMYKcmyk(4.2%, 82.3%, 0%, 62.4%)
CIE-LABlab(22.02, 42.92, -28.68)
CIE-LCHlch(22.02, 51.62, 326.25°)
OKLaboklab(34.66% 0.1176 -0.0798)
OKLCHoklch(34.66% 0.142 325.8)
XYZxyz(6.7253, 3.5212, 11.3895)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1160 #156011
analogous
#351160 #5C1160 #60113D
triadic
#5C1160 #605C11 #11605C
tetradic
#5C1160 #603511 #156011 #113D60
square
#5C1160 #603511 #156011 #113D60
split-complementary
#5C1160 #3D6011 #116035
monochromatic
#19051A #2A082C #5C1160 #8E1A94 #C023C8

Accessibility & contrast

On white

12.32
#5C1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5C1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1160
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1160#FFFFFF#000000##FFFFFF
##5C11601.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#5E2038
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5c1160;
/* rgb */ color: rgb(92, 17, 96);
/* oklch */ color: oklch(34.7% 0.142 325.8);
Tailwind
colors: {
  custom: {
    50: '#8d598d',
    500: '#5c1160',
    950: '#000000',
  },
}
SCSS
$custom: #5c1160;
$custom-light: #8d598d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1160",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 296.962,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3466,
    "c": 0.14212,
    "h": 325.8
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#5C1160
secondary
#399934
accent
#ED3B44
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C1160

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

Preview Lab → · Contrast checker → · Palette generator →

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