#5C115B#5C115B

#5C115B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.138 H 328.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#5C115B
RGBrgb(92, 17, 91)
HSLhsl(301, 69%, 21%)
HSVhsv(301, 82%, 36%)
CMYKcmyk(0%, 81.5%, 1.1%, 63.9%)
CIE-LABlab(21.70, 42.01, -25.88)
CIE-LCHlch(21.70, 49.34, 328.36°)
OKLaboklab(34.33% 0.1178 -0.0717)
OKLCHoklch(34.33% 0.138 328.7)
XYZxyz(6.5023, 3.4320, 10.2155)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C115B #115C12
analogous
#38115C #5C115B #5C1136
triadic
#5C115B #5B5C11 #115B5C
tetradic
#5C115B #5C3811 #115C12 #11365C
square
#5C115B #5C3811 #115C12 #11365C
split-complementary
#5C115B #365C11 #115C38
monochromatic
#1A051A #280728 #5C115B #901B8E #C324C1

Accessibility & contrast

On white

12.45
#5C115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5C115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C115B
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C115B#FFFFFF#000000##FFFFFF
##5C115B1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5D
Deuteranopia (green-blind)
#273759
Tritanopia (blue-blind)
#5F1D35
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c115b;
/* rgb */ color: rgb(92, 17, 91);
/* oklch */ color: oklch(34.3% 0.138 328.7);
Tailwind
colors: {
  custom: {
    50: '#8d598a',
    500: '#5c115b',
    950: '#000000',
  },
}
SCSS
$custom: #5c115b;
$custom-light: #8d598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c115b",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 300.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34325,
    "c": 0.13788,
    "h": 328.7
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#5C115B
secondary
#349535
accent
#EC3E3C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040B
muted
#7D797C

Preview Lab

Preview with #5C115B

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

Preview Lab → · Contrast checker → · Palette generator →

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