#5C1567#5C1567

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

Color values

HEX#5C1567
RGBrgb(92, 21, 103)
HSLhsl(292, 66%, 24%)
HSVhsv(292, 80%, 40%)
CMYKcmyk(10.7%, 79.6%, 0%, 59.6%)
CIE-LABlab(22.97, 42.90, -31.76)
CIE-LCHlch(22.97, 53.38, 323.49°)
OKLaboklab(35.49% 0.1133 -0.0889)
OKLCHoklch(35.49% 0.144 321.9)
XYZxyz(7.1297, 3.7913, 13.1856)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1567 #206715
analogous
#331567 #5C1567 #671549
triadic
#5C1567 #675C15 #15675C
tetradic
#5C1567 #673315 #206715 #154967
square
#5C1567 #673315 #206715 #154967
split-complementary
#5C1567 #496715 #156733
monochromatic
#170519 #2F0B34 #5C1567 #891F9A #B72ACD

Accessibility & contrast

On white

11.94
#5C1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1567
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1567#FFFFFF#000000##FFFFFF
##5C15671.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#213965
Tritanopia (blue-blind)
#5D253D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5c1567;
/* rgb */ color: rgb(92, 21, 103);
/* oklch */ color: oklch(35.5% 0.144 321.9);
Tailwind
colors: {
  custom: {
    50: '#8d5b93',
    500: '#5c1567',
    950: '#000000',
  },
}
SCSS
$custom: #5c1567;
$custom-light: #8d5b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1567",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 291.951,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35485,
    "c": 0.14398,
    "h": 321.9
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#5C1567
secondary
#479E3A
accent
#E93F56
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D040D
muted
#7D797E

Preview Lab

Preview with #5C1567

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

Preview Lab → · Contrast checker → · Palette generator →

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