#5C1476#5C1476

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

Color values

HEX#5C1476
RGBrgb(92, 20, 118)
HSLhsl(284, 71%, 27%)
HSVhsv(284, 83%, 46%)
CMYKcmyk(22%, 83.1%, 0%, 53.7%)
CIE-LABlab(23.95, 46.33, -39.88)
CIE-LCHlch(23.95, 61.13, 319.28°)
OKLaboklab(36.52% 0.1119 -0.1127)
OKLCHoklch(36.52% 0.159 314.8)
XYZxyz(7.9333, 4.0839, 17.5064)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1476 #2E7614
analogous
#2B1476 #5C1476 #76145F
triadic
#5C1476 #765C14 #14765C
tetradic
#5C1476 #762B14 #2E7614 #145F76
square
#5C1476 #762B14 #2E7614 #145F76
split-complementary
#5C1476 #5F7614 #14762B
monochromatic
#14041A #330B42 #5C1476 #851DAA #AC2ADB

Accessibility & contrast

On white

11.56
#5C1476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5C1476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1476
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1476#FFFFFF#000000##FFFFFF
##5C14761.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#0D3B74
Tritanopia (blue-blind)
#5A2C46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1476;
/* rgb */ color: rgb(92, 20, 118);
/* oklch */ color: oklch(36.5% 0.159 314.8);
Tailwind
colors: {
  custom: {
    50: '#8e5c9e',
    500: '#5c1476',
    950: '#000000',
  },
}
SCSS
$custom: #5c1476;
$custom-light: #8e5c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1476",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 284.082,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36524,
    "c": 0.1588,
    "h": 314.8
  },
  "luminance": 0.04084
}

Semantic roles & 50–950 ramp

primary
#5C1476
secondary
#58AC3A
accent
#EE3A6A
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1476

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

Preview Lab → · Contrast checker → · Palette generator →

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