#5C1666#5C1666

#5C1666 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.142 H 322.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#5C1666
RGBrgb(92, 22, 102)
HSLhsl(293, 65%, 24%)
HSVhsv(293, 78%, 40%)
CMYKcmyk(9.8%, 78.4%, 0%, 60%)
CIE-LABlab(23.03, 42.33, -31.01)
CIE-LCHlch(23.03, 52.48, 323.78°)
OKLaboklab(35.51% 0.1124 -0.0867)
OKLCHoklch(35.51% 0.142 322.4)
XYZxyz(7.0986, 3.8088, 12.9291)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1666 #206616
analogous
#341666 #5C1666 #661648
triadic
#5C1666 #665C16 #16665C
tetradic
#5C1666 #663416 #206616 #164866
square
#5C1666 #663416 #206616 #164866
split-complementary
#5C1666 #486616 #166634
monochromatic
#170519 #2F0B34 #5C1666 #892198 #B72CCB

Accessibility & contrast

On white

11.92
#5C1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1666
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1666#FFFFFF#000000##FFFFFF
##5C16661.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#223A64
Tritanopia (blue-blind)
#5D253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1666;
/* rgb */ color: rgb(92, 22, 102);
/* oklch */ color: oklch(35.5% 0.142 322.4);
Tailwind
colors: {
  custom: {
    50: '#8d5c92',
    500: '#5c1666',
    950: '#000000',
  },
}
SCSS
$custom: #5c1666;
$custom-light: #8d5c92;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1666",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 292.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35506,
    "c": 0.14192,
    "h": 322.4
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#5C1666
secondary
#479D3B
accent
#E84055
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1666

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

Preview Lab → · Contrast checker → · Palette generator →

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