#5C2192#5C2192

#5C2192 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.173 H 302.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#5C2192
RGBrgb(92, 33, 146)
HSLhsl(271, 63%, 35%)
HSVhsv(271, 77%, 57%)
CMYKcmyk(37%, 77.4%, 0%, 42.7%)
CIE-LABlab(27.95, 47.74, -50.96)
CIE-LCHlch(27.95, 69.83, 313.13°)
OKLaboklab(40.04% 0.0939 -0.1453)
OKLCHoklch(40.04% 0.173 302.9)
XYZxyz(10.1446, 5.4383, 27.7038)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2192 #579221
analogous
#232192 #5C2192 #922190
triadic
#5C2192 #925C21 #21925C
tetradic
#5C2192 #922321 #579221 #219092
square
#5C2192 #922321 #579221 #219092
split-complementary
#5C2192 #909221 #219223
monochromatic
#1D0A2E #3D1660 #5C2192 #7B2CC4 #9A55D9

Accessibility & contrast

On white

10.06
#5C2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5C2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2192
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2192#FFFFFF#000000##FFFFFF
##5C21921.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#513E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2192;
/* rgb */ color: rgb(92, 33, 146);
/* oklch */ color: oklch(40.0% 0.173 302.9);
Tailwind
colors: {
  custom: {
    50: '#9063b3',
    500: '#5c2192',
    950: '#000000',
  },
}
SCSS
$custom: #5c2192;
$custom-light: #9063b3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2192",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 271.327,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.17302,
    "h": 302.9
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#5C2192
secondary
#85BC53
accent
#E64290
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2192

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

Preview Lab → · Contrast checker → · Palette generator →

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