#5C2C91#5C2C91

#5C2C91 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.159 H 301.5°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#5C2C91
RGBrgb(92, 44, 145)
HSLhsl(269, 53%, 37%)
HSVhsv(269, 70%, 57%)
CMYKcmyk(36.6%, 69.7%, 0%, 43.1%)
CIE-LABlab(29.72, 42.28, -47.47)
CIE-LCHlch(29.72, 63.57, 311.69°)
OKLaboklab(41.27% 0.0829 -0.1351)
OKLCHoklch(41.27% 0.159 301.5)
XYZxyz(10.4239, 6.1210, 27.4149)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2C91 #61912C
analogous
#2C2F91 #5C2C91 #8F2C91
triadic
#5C2C91 #915C2C #2C915C
tetradic
#5C2C91 #912C2F #61912C #2C918F
square
#5C2C91 #912C2F #61912C #2C918F
split-complementary
#5C2C91 #918F2C #2F912C
monochromatic
#201033 #3E1E62 #5C2C91 #7A3AC0 #9967D1

Accessibility & contrast

On white

9.44
#5C2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5C2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2C91
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2C91#FFFFFF#000000##FFFFFF
##5C2C911.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#51435B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5c2c91;
/* rgb */ color: rgb(92, 44, 145);
/* oklch */ color: oklch(41.3% 0.159 301.5);
Tailwind
colors: {
  custom: {
    50: '#8f69b2',
    500: '#5c2c91',
    950: '#000000',
  },
}
SCSS
$custom: #5c2c91;
$custom-light: #8f69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2c91",
  "rgb": {
    "r": 92,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 268.515,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4127,
    "c": 0.15853,
    "h": 301.5
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#5C2C91
secondary
#8FB762
accent
#DD4B98
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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