#5C2191#5C2191

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

Color values

HEX#5C2191
RGBrgb(92, 33, 145)
HSLhsl(272, 63%, 35%)
HSVhsv(272, 77%, 57%)
CMYKcmyk(36.6%, 77.2%, 0%, 43.1%)
CIE-LABlab(27.87, 47.49, -50.48)
CIE-LCHlch(27.87, 69.31, 313.26°)
OKLaboklab(39.96% 0.0941 -0.1439)
OKLCHoklch(39.96% 0.172 303.2)
XYZxyz(10.0671, 5.4074, 27.2959)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2191 #569121
analogous
#242191 #5C2191 #91218E
triadic
#5C2191 #915C21 #21915C
tetradic
#5C2191 #912421 #569121 #218E91
square
#5C2191 #912421 #569121 #218E91
split-complementary
#5C2191 #8E9121 #219124
monochromatic
#1D0A2D #3C165F #5C2191 #7C2CC3 #9A54D8

Accessibility & contrast

On white

10.09
#5C2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C2191
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2191#FFFFFF#000000##FFFFFF
##5C21911.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#513E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5c2191;
/* rgb */ color: rgb(92, 33, 145);
/* oklch */ color: oklch(40.0% 0.172 303.2);
Tailwind
colors: {
  custom: {
    50: '#8f63b2',
    500: '#5c2191',
    950: '#000000',
  },
}
SCSS
$custom: #5c2191;
$custom-light: #8f63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2191",
  "rgb": {
    "r": 92,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 271.607,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.17197,
    "h": 303.2
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#5C2191
secondary
#84BC52
accent
#E64290
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2191

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

Preview Lab → · Contrast checker → · Palette generator →

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