#5C1580#5C1580

#5C1580 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.167 H 310.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#5C1580
RGBrgb(92, 21, 128)
HSLhsl(280, 72%, 29%)
HSVhsv(280, 84%, 50%)
CMYKcmyk(28.1%, 83.6%, 0%, 49.8%)
CIE-LABlab(24.86, 48.15, -44.75)
CIE-LCHlch(24.86, 65.74, 317.09°)
OKLaboklab(37.41% 0.1088 -0.127)
OKLCHoklch(37.41% 0.167 310.6)
XYZxyz(8.5773, 4.3704, 20.8096)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1580 #398015
analogous
#271580 #5C1580 #80156F
triadic
#5C1580 #805C15 #15805C
tetradic
#5C1580 #802715 #398015 #156F80
square
#5C1580 #802715 #398015 #156F80
split-complementary
#5C1580 #6F8015 #158027
monochromatic
#13041A #360C4B #5C1580 #821EB5 #A432DD

Accessibility & contrast

On white

11.21
#5C1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1580
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1580#FFFFFF#000000##FFFFFF
##5C15801.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c1580;
/* rgb */ color: rgb(92, 21, 128);
/* oklch */ color: oklch(37.4% 0.167 310.6);
Tailwind
colors: {
  custom: {
    50: '#8f5da6',
    500: '#5c1580',
    950: '#000000',
  },
}
SCSS
$custom: #5c1580;
$custom-light: #8f5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1580",
  "rgb": {
    "r": 92,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 279.813,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.16721,
    "h": 310.6
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#5C1580
secondary
#65B53C
accent
#EF3976
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D050F
muted
#7E797F

Preview Lab

Preview with #5C1580

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

Preview Lab → · Contrast checker → · Palette generator →

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