#5C1480#5C1480

#5C1480 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.3% C 0.168 H 310.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#5C1480
RGBrgb(92, 20, 128)
HSLhsl(280, 73%, 29%)
HSVhsv(280, 84%, 50%)
CMYKcmyk(28.1%, 84.4%, 0%, 49.8%)
CIE-LABlab(24.75, 48.48, -44.94)
CIE-LCHlch(24.75, 66.10, 317.17°)
OKLaboklab(37.34% 0.1096 -0.1275)
OKLCHoklch(37.34% 0.168 310.7)
XYZxyz(8.5593, 4.3343, 20.8036)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1480 #388014
analogous
#261480 #5C1480 #80146E
triadic
#5C1480 #805C14 #14805C
tetradic
#5C1480 #802614 #388014 #146E80
square
#5C1480 #802614 #388014 #146E80
split-complementary
#5C1480 #6E8014 #148026
monochromatic
#13041A #360C4B #5C1480 #821CB5 #A430DF

Accessibility & contrast

On white

11.25
#5C1480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5C1480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1480
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1480#FFFFFF#000000##FFFFFF
##5C14801.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#003C7E
Tritanopia (blue-blind)
#57304B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c1480;
/* rgb */ color: rgb(92, 20, 128);
/* oklch */ color: oklch(37.3% 0.168 310.7);
Tailwind
colors: {
  custom: {
    50: '#8f5ca6',
    500: '#5c1480',
    950: '#000000',
  },
}
SCSS
$custom: #5c1480;
$custom-light: #8f5ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1480",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 280,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.16812,
    "h": 310.7
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#5C1480
secondary
#63B53B
accent
#F03875
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5C1480

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

Preview Lab → · Contrast checker → · Palette generator →

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