#5C2199#5C2199

#5C2199 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.180 H 300.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#5C2199
RGBrgb(92, 33, 153)
HSLhsl(270, 65%, 36%)
HSVhsv(270, 78%, 60%)
CMYKcmyk(39.9%, 78.4%, 0%, 40%)
CIE-LABlab(28.55, 49.46, -54.29)
CIE-LCHlch(28.55, 73.44, 312.34°)
OKLaboklab(40.65% 0.0921 -0.1551)
OKLCHoklch(40.65% 0.18 300.7)
XYZxyz(10.7058, 5.6628, 30.6598)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2199 #5E9921
analogous
#212299 #5C2199 #982199
triadic
#5C2199 #995C21 #21995C
tetradic
#5C2199 #992122 #5E9921 #219998
square
#5C2199 #992122 #5E9921 #219998
split-complementary
#5C2199 #999821 #229921
monochromatic
#1F0B34 #3E1667 #5C2199 #7A2CCB #9959DB

Accessibility & contrast

On white

9.85
#5C2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C2199
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2199#FFFFFF#000000##FFFFFF
##5C21991.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c2199;
/* rgb */ color: rgb(92, 33, 153);
/* oklch */ color: oklch(40.6% 0.180 300.7);
Tailwind
colors: {
  custom: {
    50: '#9063b8',
    500: '#5c2199',
    950: '#000000',
  },
}
SCSS
$custom: #5c2199;
$custom-light: #9063b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2199",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 269.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.18037,
    "h": 300.7
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#5C2199
secondary
#8CBF56
accent
#E84095
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2199

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

Preview Lab → · Contrast checker → · Palette generator →

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