#5C1577#5C1577

#5C1577 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.7% C 0.159 H 314.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#5C1577
RGBrgb(92, 21, 119)
HSLhsl(283, 70%, 27%)
HSVhsv(283, 82%, 47%)
CMYKcmyk(22.7%, 82.4%, 0%, 53.3%)
CIE-LABlab(24.14, 46.20, -40.20)
CIE-LCHlch(24.14, 61.24, 318.97°)
OKLaboklab(36.69% 0.1109 -0.1136)
OKLCHoklch(36.69% 0.159 314.3)
XYZxyz(8.0110, 4.1438, 17.8270)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1577 #307715
analogous
#2B1577 #5C1577 #771561
triadic
#5C1577 #775C15 #15775C
tetradic
#5C1577 #772B15 #307715 #156177
square
#5C1577 #772B15 #307715 #156177
split-complementary
#5C1577 #617715 #15772B
monochromatic
#14051A #340C43 #5C1577 #841EAB #AA2DDA

Accessibility & contrast

On white

11.48
#5C1577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#5C1577 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1577
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1577#FFFFFF#000000##FFFFFF
##5C15771.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#0C3B75
Tritanopia (blue-blind)
#592D46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1577;
/* rgb */ color: rgb(92, 21, 119);
/* oklch */ color: oklch(36.7% 0.159 314.3);
Tailwind
colors: {
  custom: {
    50: '#8e5c9f',
    500: '#5c1577',
    950: '#000000',
  },
}
SCSS
$custom: #5c1577;
$custom-light: #8e5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1577",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 283.469,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.15875,
    "h": 314.3
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#5C1577
secondary
#5AAD3B
accent
#ED3B6C
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1577

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

Preview Lab → · Contrast checker → · Palette generator →

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