#5E32AE#5E32AE

#5E32AE is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.185 H 293.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5E32AE
RGBrgb(94, 50, 174)
HSLhsl(261, 55%, 44%)
HSVhsv(261, 71%, 68%)
CMYKcmyk(46%, 71.3%, 0%, 31.8%)
CIE-LABlab(33.39, 47.33, -59.06)
CIE-LCHlch(33.39, 75.69, 308.70°)
OKLaboklab(44.67% 0.0746 -0.1692)
OKLCHoklch(44.67% 0.185 293.8)
XYZxyz(13.3946, 7.7165, 40.8199)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32AE #82AE32
analogous
#3244AE #5E32AE #9C32AE
triadic
#5E32AE #AE5E32 #32AE5E
tetradic
#5E32AE #AE3244 #82AE32 #32AE9C
square
#5E32AE #AE3244 #82AE32 #32AE9C
split-complementary
#5E32AE #AE9C32 #44AE32
monochromatic
#2B174F #44247E #5E32AE #7D50CD #A080DA

Accessibility & contrast

On white

8.26
#5E32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5E32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32AE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32AE#FFFFFF#000000##FFFFFF
##5E32AE1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e32ae;
/* rgb */ color: rgb(94, 50, 174);
/* oklch */ color: oklch(44.7% 0.185 293.8);
Tailwind
colors: {
  custom: {
    50: '#936ec7',
    500: '#5e32ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e32ae;
$custom-light: #936ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32ae",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 261.29,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.18487,
    "h": 293.8
  },
  "luminance": 0.07717
}

Semantic roles & 50–950 ramp

primary
#5E32AE
secondary
#A9C478
accent
#DF49AA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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