#5C1471#5C1471

#5C1471 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.154 H 317.1°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#5C1471
RGBrgb(92, 20, 113)
HSLhsl(286, 70%, 26%)
HSVhsv(286, 82%, 44%)
CMYKcmyk(18.6%, 82.3%, 0%, 55.7%)
CIE-LABlab(23.57, 45.28, -37.28)
CIE-LCHlch(23.57, 58.66, 320.53°)
OKLaboklab(36.14% 0.1129 -0.105)
OKLCHoklch(36.14% 0.154 317.1)
XYZxyz(7.6440, 3.9682, 15.9829)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1471 #297114
analogous
#2D1471 #5C1471 #711457
triadic
#5C1471 #715C14 #14715C
tetradic
#5C1471 #712D14 #297114 #145771
square
#5C1471 #712D14 #297114 #145771
split-complementary
#5C1471 #577114 #14712D
monochromatic
#15051A #320B3D #5C1471 #861DA5 #B127D9

Accessibility & contrast

On white

11.71
#5C1471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1471
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1471#FFFFFF#000000##FFFFFF
##5C14711.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#153A6F
Tritanopia (blue-blind)
#5B2943
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1471;
/* rgb */ color: rgb(92, 20, 113);
/* oklch */ color: oklch(36.1% 0.154 317.1);
Tailwind
colors: {
  custom: {
    50: '#8e5b9a',
    500: '#5c1471',
    950: '#000000',
  },
}
SCSS
$custom: #5c1471;
$custom-light: #8e5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1471",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 286.452,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36136,
    "c": 0.15418,
    "h": 317.1
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#5C1471
secondary
#52A739
accent
#ED3B63
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1471

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

Preview Lab → · Contrast checker → · Palette generator →

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