#5A32AE#5A32AE

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

Color values

HEX#5A32AE
RGBrgb(90, 50, 174)
HSLhsl(259, 55%, 44%)
HSVhsv(259, 71%, 68%)
CMYKcmyk(48.3%, 71.3%, 0%, 31.8%)
CIE-LABlab(32.94, 46.63, -59.81)
CIE-LCHlch(32.94, 75.83, 307.94°)
OKLaboklab(44.25% 0.0687 -0.1715)
OKLCHoklch(44.25% 0.185 291.8)
XYZxyz(12.9949, 7.5104, 40.8011)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A32AE #86AE32
analogous
#3248AE #5A32AE #9832AE
triadic
#5A32AE #AE5A32 #32AE5A
tetradic
#5A32AE #AE3248 #86AE32 #32AE98
square
#5A32AE #AE3248 #86AE32 #32AE98
split-complementary
#5A32AE #AE9832 #48AE32
monochromatic
#29174F #41247E #5A32AE #7950CD #9D80DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A32AE#FFFFFF#000000##FFFFFF
##5A32AE1.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)
#004FB2
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#3F526C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5a32ae;
/* rgb */ color: rgb(90, 50, 174);
/* oklch */ color: oklch(44.3% 0.185 291.8);
Tailwind
colors: {
  custom: {
    50: '#906dc7',
    500: '#5a32ae',
    950: '#000000',
  },
}
SCSS
$custom: #5a32ae;
$custom-light: #906dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a32ae",
  "rgb": {
    "r": 90,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 259.355,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4425,
    "c": 0.18474,
    "h": 291.8
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#5A32AE
secondary
#ABC478
accent
#DF49AE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5A32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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