#5C1472#5C1472

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

Color values

HEX#5C1472
RGBrgb(92, 20, 114)
HSLhsl(286, 70%, 26%)
HSVhsv(286, 82%, 45%)
CMYKcmyk(19.3%, 82.5%, 0%, 55.3%)
CIE-LABlab(23.64, 45.49, -37.81)
CIE-LCHlch(23.64, 59.15, 320.27°)
OKLaboklab(36.21% 0.1127 -0.1066)
OKLCHoklch(36.21% 0.155 316.6)
XYZxyz(7.7006, 3.9909, 16.2810)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1472 #2A7214
analogous
#2D1472 #5C1472 #721459
triadic
#5C1472 #725C14 #14725C
tetradic
#5C1472 #722D14 #2A7214 #145972
square
#5C1472 #722D14 #2A7214 #145972
split-complementary
#5C1472 #597214 #14722D
monochromatic
#15051A #320B3E #5C1472 #861DA6 #B027D9

Accessibility & contrast

On white

11.68
#5C1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5C1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1472
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1472#FFFFFF#000000##FFFFFF
##5C14721.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#143A70
Tritanopia (blue-blind)
#5B2A43
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5c1472;
/* rgb */ color: rgb(92, 20, 114);
/* oklch */ color: oklch(36.2% 0.155 316.6);
Tailwind
colors: {
  custom: {
    50: '#8e5c9b',
    500: '#5c1472',
    950: '#000000',
  },
}
SCSS
$custom: #5c1472;
$custom-light: #8e5c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1472",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 285.957,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36212,
    "c": 0.15511,
    "h": 316.6
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#5C1472
secondary
#53A839
accent
#ED3B65
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1472

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

Preview Lab → · Contrast checker → · Palette generator →

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