#5C209A#5C209A

#5C209A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.182 H 300.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#5C209A
RGBrgb(92, 32, 154)
HSLhsl(270, 66%, 36%)
HSVhsv(270, 79%, 60%)
CMYKcmyk(40.3%, 79.2%, 0%, 39.6%)
CIE-LABlab(28.49, 50.13, -54.99)
CIE-LCHlch(28.49, 74.41, 312.35°)
OKLaboklab(40.63% 0.0927 -0.1572)
OKLCHoklch(40.63% 0.182 300.5)
XYZxyz(10.7614, 5.6413, 31.0875)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C209A #5E9A20
analogous
#20219A #5C209A #99209A
triadic
#5C209A #9A5C20 #209A5C
tetradic
#5C209A #9A2021 #5E9A20 #209A99
square
#5C209A #9A2021 #5E9A20 #209A99
split-complementary
#5C209A #9A9920 #219A20
monochromatic
#1F0B35 #3E1567 #5C209A #7A2BCD #9958DC

Accessibility & contrast

On white

9.87
#5C209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5C209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C209A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C209A#FFFFFF#000000##FFFFFF
##5C209A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#4E415D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c209a;
/* rgb */ color: rgb(92, 32, 154);
/* oklch */ color: oklch(40.6% 0.182 300.5);
Tailwind
colors: {
  custom: {
    50: '#9063b9',
    500: '#5c209a',
    950: '#000000',
  },
}
SCSS
$custom: #5c209a;
$custom-light: #9063b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c209a",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 269.508,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.18244,
    "h": 300.5
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#5C209A
secondary
#8CC056
accent
#E93F95
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C209A

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

Preview Lab → · Contrast checker → · Palette generator →

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