#5C219D#5C219D

#5C219D is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.185 H 299.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#5C219D
RGBrgb(92, 33, 157)
HSLhsl(269, 65%, 37%)
HSVhsv(269, 79%, 62%)
CMYKcmyk(41.4%, 79%, 0%, 38.4%)
CIE-LABlab(28.89, 50.46, -56.16)
CIE-LCHlch(28.89, 75.50, 311.94°)
OKLaboklab(41% 0.091 -0.1606)
OKLCHoklch(41% 0.185 299.5)
XYZxyz(11.0418, 5.7972, 32.4290)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C219D #629D21
analogous
#21249D #5C219D #9A219D
triadic
#5C219D #9D5C21 #219D5C
tetradic
#5C219D #9D2124 #629D21 #219D9A
square
#5C219D #9D2124 #629D21 #219D9A
split-complementary
#5C219D #9D9A21 #249D21
monochromatic
#210C38 #3E166A #5C219D #7A2CD0 #995CDD

Accessibility & contrast

On white

9.72
#5C219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5C219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C219D
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C219D#FFFFFF#000000##FFFFFF
##5C219D1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#4C435F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c219d;
/* rgb */ color: rgb(92, 33, 157);
/* oklch */ color: oklch(41.0% 0.185 299.5);
Tailwind
colors: {
  custom: {
    50: '#9164bb',
    500: '#5c219d',
    950: '#000000',
  },
}
SCSS
$custom: #5c219d;
$custom-light: #9164bb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c219d",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 268.548,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.18457,
    "h": 299.5
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#5C219D
secondary
#8FC159
accent
#E84098
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C219D

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

Preview Lab → · Contrast checker → · Palette generator →

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