#5B32AD#5B32AD

#5B32AD is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.184 H 292.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#5B32AD
RGBrgb(91, 50, 173)
HSLhsl(260, 55%, 44%)
HSVhsv(260, 71%, 68%)
CMYKcmyk(47.4%, 71.1%, 0%, 32.2%)
CIE-LABlab(32.97, 46.52, -59.16)
CIE-LCHlch(32.97, 75.26, 308.18°)
OKLaboklab(44.27% 0.0704 -0.1696)
OKLCHoklch(44.27% 0.184 292.5)
XYZxyz(12.9957, 7.5220, 40.2942)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B32AD #84AD32
analogous
#3246AD #5B32AD #9832AD
triadic
#5B32AD #AD5B32 #32AD5B
tetradic
#5B32AD #AD3246 #84AD32 #32AD98
square
#5B32AD #AD3246 #84AD32 #32AD98
split-complementary
#5B32AD #AD9832 #46AD32
monochromatic
#29174E #42247E #5B32AD #7950CC #9E7FDA

Accessibility & contrast

On white

8.39
#5B32AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B32AD
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B32AD#FFFFFF#000000##FFFFFF
##5B32AD1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#42516C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5b32ad;
/* rgb */ color: rgb(91, 50, 173);
/* oklch */ color: oklch(44.3% 0.184 292.5);
Tailwind
colors: {
  custom: {
    50: '#916dc6',
    500: '#5b32ad',
    950: '#000000',
  },
}
SCSS
$custom: #5b32ad;
$custom-light: #916dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b32ad",
  "rgb": {
    "r": 91,
    "g": 50,
    "b": 173
  },
  "hsl": {
    "h": 260,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44267,
    "c": 0.18358,
    "h": 292.5
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#5B32AD
secondary
#AAC378
accent
#DE49AD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5B32AD

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

Preview Lab → · Contrast checker → · Palette generator →

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