#5C32AE#5C32AE

#5C32AE is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.185 H 292.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#5C32AE
RGBrgb(92, 50, 174)
HSLhsl(260, 55%, 44%)
HSVhsv(260, 71%, 68%)
CMYKcmyk(47.1%, 71.3%, 0%, 31.8%)
CIE-LABlab(33.16, 46.97, -59.44)
CIE-LCHlch(33.16, 75.76, 308.32°)
OKLaboklab(44.46% 0.0716 -0.1703)
OKLCHoklch(44.46% 0.185 292.8)
XYZxyz(13.1921, 7.6121, 40.8104)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C32AE #84AE32
analogous
#3246AE #5C32AE #9A32AE
triadic
#5C32AE #AE5C32 #32AE5C
tetradic
#5C32AE #AE3246 #84AE32 #32AE9A
square
#5C32AE #AE3246 #84AE32 #32AE9A
split-complementary
#5C32AE #AE9A32 #46AE32
monochromatic
#2A174F #43247E #5C32AE #7B50CD #9F80DA

Accessibility & contrast

On white

8.32
#5C32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5C32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C32AE
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C32AE#FFFFFF#000000##FFFFFF
##5C32AE1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#43526C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5c32ae;
/* rgb */ color: rgb(92, 50, 174);
/* oklch */ color: oklch(44.5% 0.185 292.8);
Tailwind
colors: {
  custom: {
    50: '#926dc7',
    500: '#5c32ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c32ae;
$custom-light: #926dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c32ae",
  "rgb": {
    "r": 92,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 260.323,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.18479,
    "h": 292.8
  },
  "luminance": 0.07613
}

Semantic roles & 50–950 ramp

primary
#5C32AE
secondary
#AAC478
accent
#DF49AC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5C32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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