#5C219A#5C219A

#5C219A is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.181 H 300.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#5C219A
RGBrgb(92, 33, 154)
HSLhsl(269, 65%, 37%)
HSVhsv(269, 79%, 60%)
CMYKcmyk(40.3%, 78.6%, 0%, 39.6%)
CIE-LABlab(28.63, 49.71, -54.76)
CIE-LCHlch(28.63, 73.96, 312.24°)
OKLaboklab(40.73% 0.0918 -0.1565)
OKLCHoklch(40.73% 0.181 300.4)
XYZxyz(10.7888, 5.6960, 31.0966)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C219A #5F9A21
analogous
#21239A #5C219A #99219A
triadic
#5C219A #9A5C21 #219A5C
tetradic
#5C219A #9A2123 #5F9A21 #219A99
square
#5C219A #9A2123 #5F9A21 #219A99
split-complementary
#5C219A #9A9921 #239A21
monochromatic
#200B35 #3E1668 #5C219A #7A2CCC #995ADC

Accessibility & contrast

On white

9.82
#5C219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5C219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C219A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C219A#FFFFFF#000000##FFFFFF
##5C219A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c219a;
/* rgb */ color: rgb(92, 33, 154);
/* oklch */ color: oklch(40.7% 0.181 300.4);
Tailwind
colors: {
  custom: {
    50: '#9063b9',
    500: '#5c219a',
    950: '#000000',
  },
}
SCSS
$custom: #5c219a;
$custom-light: #9063b9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c219a",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 269.256,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40734,
    "c": 0.18143,
    "h": 300.4
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#5C219A
secondary
#8DC057
accent
#E84096
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5C219A

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

Preview Lab → · Contrast checker → · Palette generator →

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