#5C1667#5C1667

#5C1667 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.143 H 321.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5C1667
RGBrgb(92, 22, 103)
HSLhsl(292, 65%, 25%)
HSVhsv(292, 79%, 40%)
CMYKcmyk(10.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(23.10, 42.53, -31.56)
CIE-LCHlch(23.10, 52.96, 323.43°)
OKLaboklab(35.58% 0.1123 -0.0883)
OKLCHoklch(35.58% 0.143 321.8)
XYZxyz(7.1485, 3.8288, 13.1918)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1667 #216716
analogous
#341667 #5C1667 #67164A
triadic
#5C1667 #675C16 #16675C
tetradic
#5C1667 #673416 #216716 #164A67
square
#5C1667 #673416 #216716 #164A67
split-complementary
#5C1667 #4A6716 #166734
monochromatic
#170519 #2F0B35 #5C1667 #892199 #B62CCC

Accessibility & contrast

On white

11.89
#5C1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5C1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1667
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1667#FFFFFF#000000##FFFFFF
##5C16671.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#213A65
Tritanopia (blue-blind)
#5D263D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1667;
/* rgb */ color: rgb(92, 22, 103);
/* oklch */ color: oklch(35.6% 0.143 321.8);
Tailwind
colors: {
  custom: {
    50: '#8d5c93',
    500: '#5c1667',
    950: '#000000',
  },
}
SCSS
$custom: #5c1667;
$custom-light: #8d5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1667",
  "rgb": {
    "r": 92,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 291.852,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35576,
    "c": 0.14284,
    "h": 321.8
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#5C1667
secondary
#499E3B
accent
#E84057
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1667

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

Preview Lab → · Contrast checker → · Palette generator →

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