#5C116F#5C116F

#5C116F is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.155 H 318.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5C116F
RGBrgb(92, 17, 111)
HSLhsl(288, 73%, 25%)
HSVhsv(288, 85%, 44%)
CMYKcmyk(17.1%, 84.7%, 0%, 56.5%)
CIE-LABlab(23.08, 45.84, -36.78)
CIE-LCHlch(23.08, 58.77, 321.26°)
OKLaboklab(35.75% 0.1157 -0.1035)
OKLCHoklch(35.75% 0.155 318.2)
XYZxyz(7.4829, 3.8243, 15.3798)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C116F #246F11
analogous
#2D116F #5C116F #6F1153
triadic
#5C116F #6F5C11 #116F5C
tetradic
#5C116F #6F2D11 #246F11 #11536F
square
#5C116F #6F2D11 #246F11 #11536F
split-complementary
#5C116F #536F11 #116F2D
monochromatic
#16041B #30093A #5C116F #8819A4 #B421D9

Accessibility & contrast

On white

11.90
#5C116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C116F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C116F#FFFFFF#000000##FFFFFF
##5C116F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#16396D
Tritanopia (blue-blind)
#5B2741
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c116f;
/* rgb */ color: rgb(92, 17, 111);
/* oklch */ color: oklch(35.7% 0.155 318.2);
Tailwind
colors: {
  custom: {
    50: '#8e5a99',
    500: '#5c116f',
    950: '#000000',
  },
}
SCSS
$custom: #5c116f;
$custom-light: #8e5a99;
$custom-dark: #000000;
JSON
{
  "hex": "#5c116f",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 287.872,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.15527,
    "h": 318.2
  },
  "luminance": 0.03824
}

Semantic roles & 50–950 ramp

primary
#5C116F
secondary
#4CA635
accent
#F0385D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C116F

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

Preview Lab → · Contrast checker → · Palette generator →

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