#5C32A2#5C32A2

#5C32A2 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.171 H 295.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5C32A2
RGBrgb(92, 50, 162)
HSLhsl(263, 53%, 42%)
HSVhsv(263, 69%, 64%)
CMYKcmyk(43.2%, 69.1%, 0%, 36.5%)
CIE-LABlab(32.18, 43.68, -53.83)
CIE-LCHlch(32.18, 69.32, 309.05°)
OKLaboklab(43.45% 0.0738 -0.1539)
OKLCHoklch(43.45% 0.171 295.6)
XYZxyz(12.0741, 7.1649, 34.9222)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32A2 #78A232
analogous
#3240A2 #5C32A2 #9432A2
triadic
#5C32A2 #A25C32 #32A25C
tetradic
#5C32A2 #A23240 #78A232 #32A294
square
#5C32A2 #A23240 #78A232 #32A294
split-complementary
#5C32A2 #A29432 #40A232
monochromatic
#271544 #412473 #5C32A2 #794AC7 #9C79D6

Accessibility & contrast

On white

8.63
#5C32A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5C32A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32A2
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32A2#FFFFFF#000000##FFFFFF
##5C32A21.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#494D66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5c32a2;
/* rgb */ color: rgb(92, 50, 162);
/* oklch */ color: oklch(43.5% 0.171 295.6);
Tailwind
colors: {
  custom: {
    50: '#906dbe',
    500: '#5c32a2',
    950: '#000000',
  },
}
SCSS
$custom: #5c32a2;
$custom-light: #906dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32a2",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 262.5,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.17065,
    "h": 295.6
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#5C32A2
secondary
#A1BE72
accent
#DC4CA6
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5C32A2

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

Preview Lab → · Contrast checker → · Palette generator →

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