#5C1167#5C1167

#5C1167 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.148 H 322.1°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#5C1167
RGBrgb(92, 17, 103)
HSLhsl(292, 72%, 24%)
HSVhsv(292, 83%, 40%)
CMYKcmyk(10.7%, 83.5%, 0%, 59.6%)
CIE-LABlab(22.50, 44.25, -32.51)
CIE-LCHlch(22.50, 54.91, 323.69°)
OKLaboklab(35.15% 0.1169 -0.091)
OKLCHoklch(35.15% 0.148 322.1)
XYZxyz(7.0620, 3.6559, 13.1630)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1167 #1C6711
analogous
#311167 #5C1167 #671147
triadic
#5C1167 #675C11 #11675C
tetradic
#5C1167 #673111 #1C6711 #114767
square
#5C1167 #673111 #1C6711 #114767
split-complementary
#5C1167 #476711 #116731
monochromatic
#17041A #2D0832 #5C1167 #8B1A9C #BA22D0

Accessibility & contrast

On white

12.13
#5C1167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5C1167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1167
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1167#FFFFFF#000000##FFFFFF
##5C11671.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#1E3865
Tritanopia (blue-blind)
#5D233C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5c1167;
/* rgb */ color: rgb(92, 17, 103);
/* oklch */ color: oklch(35.2% 0.148 322.1);
Tailwind
colors: {
  custom: {
    50: '#8d5a93',
    500: '#5c1167',
    950: '#000000',
  },
}
SCSS
$custom: #5c1167;
$custom-light: #8d5a93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1167",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 292.326,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.35152,
    "c": 0.14818,
    "h": 322.1
  },
  "luminance": 0.03655
}

Semantic roles & 50–950 ramp

primary
#5C1167
secondary
#429F35
accent
#EE3951
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1167

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

Preview Lab → · Contrast checker → · Palette generator →

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