#5C32AA#5C32AA

#5C32AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.180 H 293.7°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5C32AA
RGBrgb(92, 50, 170)
HSLhsl(261, 55%, 43%)
HSVhsv(261, 71%, 67%)
CMYKcmyk(45.9%, 70.6%, 0%, 33.3%)
CIE-LABlab(32.83, 45.87, -57.59)
CIE-LCHlch(32.83, 73.63, 308.54°)
OKLaboklab(44.12% 0.0724 -0.1649)
OKLCHoklch(44.12% 0.18 293.7)
XYZxyz(12.8079, 7.4584, 38.7872)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32AA #80AA32
analogous
#3244AA #5C32AA #9832AA
triadic
#5C32AA #AA5C32 #32AA5C
tetradic
#5C32AA #AA3244 #80AA32 #32AA98
square
#5C32AA #AA3244 #80AA32 #32AA98
split-complementary
#5C32AA #AA9832 #44AA32
monochromatic
#29164B #42247B #5C32AA #7A4ECB #9D7DD9

Accessibility & contrast

On white

8.43
#5C32AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5C32AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32AA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32AA#FFFFFF#000000##FFFFFF
##5C32AA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#45506A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5c32aa;
/* rgb */ color: rgb(92, 50, 170);
/* oklch */ color: oklch(44.1% 0.180 293.7);
Tailwind
colors: {
  custom: {
    50: '#916dc4',
    500: '#5c32aa',
    950: '#000000',
  },
}
SCSS
$custom: #5c32aa;
$custom-light: #916dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32aa",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 261,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.18011,
    "h": 293.7
  },
  "luminance": 0.07459
}

Semantic roles & 50–950 ramp

primary
#5C32AA
secondary
#A7C276
accent
#DE4AAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5C32AA

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

Preview Lab → · Contrast checker → · Palette generator →

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