#5C2091#5C2091

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

Color values

HEX#5C2091
RGBrgb(92, 32, 145)
HSLhsl(272, 64%, 35%)
HSVhsv(272, 78%, 57%)
CMYKcmyk(36.6%, 77.9%, 0%, 43.1%)
CIE-LABlab(27.72, 47.92, -50.72)
CIE-LCHlch(27.72, 69.78, 313.37°)
OKLaboklab(39.85% 0.0951 -0.1446)
OKLCHoklch(39.85% 0.173 303.3)
XYZxyz(10.0398, 5.3527, 27.2868)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2091 #559120
analogous
#232091 #5C2091 #91208E
triadic
#5C2091 #915C20 #20915C
tetradic
#5C2091 #912320 #559120 #208E91
square
#5C2091 #912320 #559120 #208E91
split-complementary
#5C2091 #8E9120 #209123
monochromatic
#1C0A2D #3C155F #5C2091 #7C2BC3 #9A52D9

Accessibility & contrast

On white

10.14
#5C2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#5C2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2091
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2091#FFFFFF#000000##FFFFFF
##5C20911.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#513D58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5c2091;
/* rgb */ color: rgb(92, 32, 145);
/* oklch */ color: oklch(39.9% 0.173 303.3);
Tailwind
colors: {
  custom: {
    50: '#9062b2',
    500: '#5c2091',
    950: '#000000',
  },
}
SCSS
$custom: #5c2091;
$custom-light: #9062b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2091",
  "rgb": {
    "r": 92,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 271.858,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39854,
    "c": 0.17305,
    "h": 303.3
  },
  "luminance": 0.05353
}

Semantic roles & 50–950 ramp

primary
#5C2091
secondary
#83BC51
accent
#E7418F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #5C2091

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

Preview Lab → · Contrast checker → · Palette generator →

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