#5C115D#5C115D

#5C115D is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.140 H 327.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#5C115D
RGBrgb(92, 17, 93)
HSLhsl(299, 69%, 22%)
HSVhsv(299, 82%, 36%)
CMYKcmyk(1.1%, 81.7%, 0%, 63.5%)
CIE-LABlab(21.82, 42.37, -27.01)
CIE-LCHlch(21.82, 50.25, 327.48°)
OKLaboklab(34.46% 0.1177 -0.075)
OKLCHoklch(34.46% 0.14 327.5)
XYZxyz(6.5898, 3.4670, 10.6759)
Luminance0.0347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C115D #125D11
analogous
#36115D #5C115D #5D1138
triadic
#5C115D #5D5C11 #115D5C
tetradic
#5C115D #5D3611 #125D11 #11385D
square
#5C115D #5D3611 #125D11 #11385D
split-complementary
#5C115D #385D11 #115D36
monochromatic
#1A051A #290829 #5C115D #8F1A91 #C224C4

Accessibility & contrast

On white

12.40
#5C115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C115D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C115D#FFFFFF#000000##FFFFFF
##5C115D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E5F
Deuteranopia (green-blind)
#26385B
Tritanopia (blue-blind)
#5F1E37
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c115d;
/* rgb */ color: rgb(92, 17, 93);
/* oklch */ color: oklch(34.5% 0.140 327.5);
Tailwind
colors: {
  custom: {
    50: '#8d598b',
    500: '#5c115d',
    950: '#000000',
  },
}
SCSS
$custom: #5c115d;
$custom-light: #8d598b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c115d",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 299.211,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.13957,
    "h": 327.5
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#5C115D
secondary
#359634
accent
#EC3C3E
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C115D

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

Preview Lab → · Contrast checker → · Palette generator →

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