#5C1484#5C1484

#5C1484 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.172 H 309.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#5C1484
RGBrgb(92, 20, 132)
HSLhsl(279, 74%, 30%)
HSVhsv(279, 85%, 52%)
CMYKcmyk(30.3%, 84.8%, 0%, 48.2%)
CIE-LABlab(25.08, 49.36, -46.92)
CIE-LCHlch(25.08, 68.10, 316.45°)
OKLaboklab(37.67% 0.1085 -0.1333)
OKLCHoklch(37.67% 0.172 309.1)
XYZxyz(8.8278, 4.4417, 22.2176)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1484 #3C8414
analogous
#241484 #5C1484 #841474
triadic
#5C1484 #845C14 #14845C
tetradic
#5C1484 #842414 #3C8414 #147484
square
#5C1484 #842414 #3C8414 #147484
split-complementary
#5C1484 #748414 #148424
monochromatic
#13041B #370C4F #5C1484 #811CB9 #A232E0

Accessibility & contrast

On white

11.12
#5C1484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5C1484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1484
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1484#FFFFFF#000000##FFFFFF
##5C14841.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#56324E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5c1484;
/* rgb */ color: rgb(92, 20, 132);
/* oklch */ color: oklch(37.7% 0.172 309.1);
Tailwind
colors: {
  custom: {
    50: '#8f5da9',
    500: '#5c1484',
    950: '#000000',
  },
}
SCSS
$custom: #5c1484;
$custom-light: #8f5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1484",
  "rgb": {
    "r": 92,
    "g": 20,
    "b": 132
  },
  "hsl": {
    "h": 278.571,
    "s": 73.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37671,
    "c": 0.17187,
    "h": 309.1
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#5C1484
secondary
#68B93B
accent
#F03779
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5C1484

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

Preview Lab → · Contrast checker → · Palette generator →

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