#5C219C#5C219C

#5C219C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.184 H 299.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#5C219C
RGBrgb(92, 33, 156)
HSLhsl(269, 65%, 37%)
HSVhsv(269, 79%, 61%)
CMYKcmyk(41%, 78.8%, 0%, 38.8%)
CIE-LABlab(28.81, 50.21, -55.69)
CIE-LCHlch(28.81, 74.98, 312.04°)
OKLaboklab(40.91% 0.0913 -0.1592)
OKLCHoklch(40.91% 0.184 299.8)
XYZxyz(10.9567, 5.7632, 31.9812)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C219C #619C21
analogous
#21249C #5C219C #99219C
triadic
#5C219C #9C5C21 #219C5C
tetradic
#5C219C #9C2124 #619C21 #219C99
square
#5C219C #9C2124 #619C21 #219C99
split-complementary
#5C219C #9C9921 #249C21
monochromatic
#200C37 #3E1669 #5C219C #7A2CCF #995BDC

Accessibility & contrast

On white

9.76
#5C219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5C219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C219C
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C219C#FFFFFF#000000##FFFFFF
##5C219C1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#4D425E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c219c;
/* rgb */ color: rgb(92, 33, 156);
/* oklch */ color: oklch(40.9% 0.184 299.8);
Tailwind
colors: {
  custom: {
    50: '#9164ba',
    500: '#5c219c',
    950: '#000000',
  },
}
SCSS
$custom: #5c219c;
$custom-light: #9164ba;
$custom-dark: #000000;
JSON
{
  "hex": "#5c219c",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 268.78,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4091,
    "c": 0.18352,
    "h": 299.8
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#5C219C
secondary
#8FC158
accent
#E84097
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C219C

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

Preview Lab → · Contrast checker → · Palette generator →

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