#5C2184#5C2184

#5C2184 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.158 H 307.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#5C2184
RGBrgb(92, 33, 132)
HSLhsl(276, 60%, 32%)
HSVhsv(276, 75%, 52%)
CMYKcmyk(30.3%, 75%, 0%, 48.2%)
CIE-LABlab(26.82, 44.36, -44.09)
CIE-LCHlch(26.82, 62.55, 315.17°)
OKLaboklab(38.89% 0.0969 -0.1251)
OKLCHoklch(38.89% 0.158 307.7)
XYZxyz(9.1215, 5.0291, 22.3155)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2184 #498421
analogous
#2B2184 #5C2184 #84217A
triadic
#5C2184 #845C21 #21845C
tetradic
#5C2184 #842B21 #498421 #217A84
square
#5C2184 #842B21 #498421 #217A84
split-complementary
#5C2184 #7A8421 #21842B
monochromatic
#180922 #3A1553 #5C2184 #7E2DB5 #9D4DD2

Accessibility & contrast

On white

10.47
#5C2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5C2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2184
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2184#FFFFFF#000000##FFFFFF
##5C21841.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#004082
Tritanopia (blue-blind)
#563850
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5c2184;
/* rgb */ color: rgb(92, 33, 132);
/* oklch */ color: oklch(38.9% 0.158 307.7);
Tailwind
colors: {
  custom: {
    50: '#8e62a8',
    500: '#5c2184',
    950: '#000000',
  },
}
SCSS
$custom: #5c2184;
$custom-light: #8e62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2184",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 275.758,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38891,
    "c": 0.15827,
    "h": 307.7
  },
  "luminance": 0.05029
}

Semantic roles & 50–950 ramp

primary
#5C2184
secondary
#76B64B
accent
#E34585
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5C2184

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

Preview Lab → · Contrast checker → · Palette generator →

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