#5C115C#5C115C

#5C115C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.139 H 328.1°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#5C115C
RGBrgb(92, 17, 92)
HSLhsl(300, 69%, 21%)
HSVhsv(300, 82%, 36%)
CMYKcmyk(0%, 81.5%, 0%, 63.9%)
CIE-LABlab(21.76, 42.19, -26.45)
CIE-LCHlch(21.76, 49.79, 327.92°)
OKLaboklab(34.39% 0.1178 -0.0733)
OKLCHoklch(34.39% 0.139 328.1)
XYZxyz(6.5458, 3.4494, 10.4442)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C115C #115C11
analogous
#37115C #5C115C #5C1137
triadic
#5C115C #5C5C11 #115C5C
tetradic
#5C115C #5C3711 #115C11 #11375C
square
#5C115C #5C3711 #115C11 #11375C
split-complementary
#5C115C #375C11 #115C37
monochromatic
#1A051A #280728 #5C115C #901B90 #C324C3

Accessibility & contrast

On white

12.43
#5C115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C115C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C115C#FFFFFF#000000##FFFFFF
##5C115C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012E5E
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#5F1D36
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5c115c;
/* rgb */ color: rgb(92, 17, 92);
/* oklch */ color: oklch(34.4% 0.139 328.1);
Tailwind
colors: {
  custom: {
    50: '#8d598a',
    500: '#5c115c',
    950: '#000000',
  },
}
SCSS
$custom: #5c115c;
$custom-light: #8d598a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c115c",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 300,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.34391,
    "c": 0.13872,
    "h": 328.1
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#5C115C
secondary
#349534
accent
#EC3C3C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5C115C

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

Preview Lab → · Contrast checker → · Palette generator →

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