#5B32AC#5B32AC

#5B32AC is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.182 H 292.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5B32AC
RGBrgb(91, 50, 172)
HSLhsl(260, 55%, 44%)
HSVhsv(260, 71%, 67%)
CMYKcmyk(47.1%, 70.9%, 0%, 32.5%)
CIE-LABlab(32.88, 46.24, -58.70)
CIE-LCHlch(32.88, 74.73, 308.23°)
OKLaboklab(44.18% 0.0706 -0.1682)
OKLCHoklch(44.18% 0.182 292.8)
XYZxyz(12.8993, 7.4835, 39.7865)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B32AC #83AC32
analogous
#3246AC #5B32AC #9832AC
triadic
#5B32AC #AC5B32 #32AC5B
tetradic
#5B32AC #AC3246 #83AC32 #32AC98
square
#5B32AC #AC3246 #83AC32 #32AC98
split-complementary
#5B32AC #AC9832 #46AC32
monochromatic
#29164D #42247D #5B32AC #794FCC #9D7FDA

Accessibility & contrast

On white

8.41
#5B32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#5B32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B32AC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B32AC#FFFFFF#000000##FFFFFF
##5B32AC1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004BAA
Tritanopia (blue-blind)
#42516B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5b32ac;
/* rgb */ color: rgb(91, 50, 172);
/* oklch */ color: oklch(44.2% 0.182 292.8);
Tailwind
colors: {
  custom: {
    50: '#916dc6',
    500: '#5b32ac',
    950: '#000000',
  },
}
SCSS
$custom: #5b32ac;
$custom-light: #916dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b32ac",
  "rgb": {
    "r": 91,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 260.164,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.18241,
    "h": 292.8
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#5B32AC
secondary
#A9C377
accent
#DE4AAC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5B32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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