#5C1573#5C1573

#5C1573 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.4% C 0.155 H 316.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#5C1573
RGBrgb(92, 21, 115)
HSLhsl(285, 69%, 27%)
HSVhsv(285, 82%, 45%)
CMYKcmyk(20%, 81.7%, 0%, 54.9%)
CIE-LABlab(23.84, 45.35, -38.14)
CIE-LCHlch(23.84, 59.26, 319.94°)
OKLaboklab(36.37% 0.1116 -0.1076)
OKLCHoklch(36.37% 0.155 316.1)
XYZxyz(7.7758, 4.0498, 16.5884)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1573 #2C7315
analogous
#2D1573 #5C1573 #73155B
triadic
#5C1573 #735C15 #15735C
tetradic
#5C1573 #732D15 #2C7315 #155B73
square
#5C1573 #732D15 #2C7315 #155B73
split-complementary
#5C1573 #5B7315 #15732D
monochromatic
#15051A #330C3F #5C1573 #851EA7 #AE2AD8

Accessibility & contrast

On white

11.60
#5C1573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5C1573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1573
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1573#FFFFFF#000000##FFFFFF
##5C15731.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#133B71
Tritanopia (blue-blind)
#5A2B44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1573;
/* rgb */ color: rgb(92, 21, 115);
/* oklch */ color: oklch(36.4% 0.155 316.1);
Tailwind
colors: {
  custom: {
    50: '#8e5c9c',
    500: '#5c1573',
    950: '#000000',
  },
}
SCSS
$custom: #5c1573;
$custom-light: #8e5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1573",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 285.319,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.15502,
    "h": 316.1
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#5C1573
secondary
#56A93B
accent
#EC3C67
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1573

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

Preview Lab → · Contrast checker → · Palette generator →

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