#5C1470#5C1470

#5C1470 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.1% C 0.153 H 317.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#5C1470
RGBrgb(92, 20, 112)
HSLhsl(287, 70%, 26%)
HSVhsv(287, 82%, 44%)
CMYKcmyk(17.9%, 82.1%, 0%, 56.1%)
CIE-LABlab(23.49, 45.07, -36.76)
CIE-LCHlch(23.49, 58.16, 320.80°)
OKLaboklab(36.06% 0.113 -0.1035)
OKLCHoklch(36.06% 0.153 317.5)
XYZxyz(7.5880, 3.9458, 15.6880)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1470 #287014
analogous
#2E1470 #5C1470 #701456
triadic
#5C1470 #705C14 #14705C
tetradic
#5C1470 #702E14 #287014 #145670
square
#5C1470 #702E14 #287014 #145670
split-complementary
#5C1470 #567014 #14702E
monochromatic
#15051A #310B3C #5C1470 #871DA4 #B127D8

Accessibility & contrast

On white

11.74
#5C1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5C1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1470
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1470#FFFFFF#000000##FFFFFF
##5C14701.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#173A6E
Tritanopia (blue-blind)
#5B2942
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1470;
/* rgb */ color: rgb(92, 20, 112);
/* oklch */ color: oklch(36.1% 0.153 317.5);
Tailwind
colors: {
  custom: {
    50: '#8e5b9a',
    500: '#5c1470',
    950: '#000000',
  },
}
SCSS
$custom: #5c1470;
$custom-light: #8e5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1470",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 286.957,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36059,
    "c": 0.15326,
    "h": 317.5
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#5C1470
secondary
#51A639
accent
#ED3B62
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1470

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

Preview Lab → · Contrast checker → · Palette generator →

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