#5C2190#5C2190

#5C2190 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.171 H 303.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#5C2190
RGBrgb(92, 33, 144)
HSLhsl(272, 63%, 35%)
HSVhsv(272, 77%, 56%)
CMYKcmyk(36.1%, 77.1%, 0%, 43.5%)
CIE-LABlab(27.78, 47.25, -50.00)
CIE-LCHlch(27.78, 68.79, 313.38°)
OKLaboklab(39.87% 0.0944 -0.1425)
OKLCHoklch(39.87% 0.171 303.5)
XYZxyz(9.9904, 5.3767, 26.8916)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2190 #559021
analogous
#252190 #5C2190 #90218D
triadic
#5C2190 #905C21 #21905C
tetradic
#5C2190 #902521 #559021 #218D90
square
#5C2190 #902521 #559021 #218D90
split-complementary
#5C2190 #8D9021 #219025
monochromatic
#1C0A2C #3C165E #5C2190 #7C2CC2 #9A54D8

Accessibility & contrast

On white

10.12
#5C2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5C2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2190
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2190#FFFFFF#000000##FFFFFF
##5C21901.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#523D57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2190;
/* rgb */ color: rgb(92, 33, 144);
/* oklch */ color: oklch(39.9% 0.171 303.5);
Tailwind
colors: {
  custom: {
    50: '#8f63b1',
    500: '#5c2190',
    950: '#000000',
  },
}
SCSS
$custom: #5c2190;
$custom-light: #8f63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2190",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 271.892,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39873,
    "c": 0.17091,
    "h": 303.5
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#5C2190
secondary
#83BB51
accent
#E6428F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2190

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

Preview Lab → · Contrast checker → · Palette generator →

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