#5C1477#5C1477

#5C1477 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.160 H 314.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#5C1477
RGBrgb(92, 20, 119)
HSLhsl(284, 71%, 27%)
HSVhsv(284, 83%, 47%)
CMYKcmyk(22.7%, 83.2%, 0%, 53.3%)
CIE-LABlab(24.02, 46.54, -40.39)
CIE-LCHlch(24.02, 61.62, 319.04°)
OKLaboklab(36.6% 0.1117 -0.1142)
OKLCHoklch(36.6% 0.16 314.4)
XYZxyz(7.9930, 4.1078, 17.8210)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1477 #2F7714
analogous
#2A1477 #5C1477 #771461
triadic
#5C1477 #775C14 #14775C
tetradic
#5C1477 #772A14 #2F7714 #146177
square
#5C1477 #772A14 #2F7714 #146177
split-complementary
#5C1477 #617714 #14772A
monochromatic
#14041A #330B43 #5C1477 #851DAB #AB2ADB

Accessibility & contrast

On white

11.53
#5C1477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1477
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1477#FFFFFF#000000##FFFFFF
##5C14771.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357A
Deuteranopia (green-blind)
#0B3B75
Tritanopia (blue-blind)
#592C46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5c1477;
/* rgb */ color: rgb(92, 20, 119);
/* oklch */ color: oklch(36.6% 0.160 314.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c9f',
    500: '#5c1477',
    950: '#000000',
  },
}
SCSS
$custom: #5c1477;
$custom-light: #8e5c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1477",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 283.636,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36603,
    "c": 0.15973,
    "h": 314.4
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#5C1477
secondary
#59AD3A
accent
#EE3A6B
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5C1477

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

Preview Lab → · Contrast checker → · Palette generator →

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