#5C2099#5C2099

#5C2099 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.181 H 300.8°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#5C2099
RGBrgb(92, 32, 153)
HSLhsl(270, 65%, 36%)
HSVhsv(270, 79%, 60%)
CMYKcmyk(39.9%, 79.1%, 0%, 40%)
CIE-LABlab(28.40, 49.88, -54.52)
CIE-LCHlch(28.40, 73.89, 312.45°)
OKLaboklab(40.54% 0.0929 -0.1558)
OKLCHoklch(40.54% 0.181 300.8)
XYZxyz(10.6785, 5.6082, 30.6507)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2099 #5D9920
analogous
#202199 #5C2099 #992099
triadic
#5C2099 #995C20 #20995C
tetradic
#5C2099 #992021 #5D9920 #209999
square
#5C2099 #992021 #5D9920 #209999
split-complementary
#5C2099 #999920 #219920
monochromatic
#1F0B34 #3E1566 #5C2099 #7A2BCC #9957DC

Accessibility & contrast

On white

9.90
#5C2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#5C2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2099
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2099#FFFFFF#000000##FFFFFF
##5C20991.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#4E415C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5c2099;
/* rgb */ color: rgb(92, 32, 153);
/* oklch */ color: oklch(40.5% 0.181 300.8);
Tailwind
colors: {
  custom: {
    50: '#9063b8',
    500: '#5c2099',
    950: '#000000',
  },
}
SCSS
$custom: #5c2099;
$custom-light: #9063b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2099",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 269.752,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.18139,
    "h": 300.8
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#5C2099
secondary
#8BC055
accent
#E83F95
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2099

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

Preview Lab → · Contrast checker → · Palette generator →

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