#5D32AE#5D32AE

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

Color values

HEX#5D32AE
RGBrgb(93, 50, 174)
HSLhsl(261, 55%, 44%)
HSVhsv(261, 71%, 68%)
CMYKcmyk(46.6%, 71.3%, 0%, 31.8%)
CIE-LABlab(33.27, 47.15, -59.25)
CIE-LCHlch(33.27, 75.72, 308.51°)
OKLaboklab(44.56% 0.0731 -0.1698)
OKLCHoklch(44.56% 0.185 293.3)
XYZxyz(13.2927, 7.6639, 40.8151)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32AE #83AE32
analogous
#3245AE #5D32AE #9B32AE
triadic
#5D32AE #AE5D32 #32AE5D
tetradic
#5D32AE #AE3245 #83AE32 #32AE9B
square
#5D32AE #AE3245 #83AE32 #32AE9B
split-complementary
#5D32AE #AE9B32 #45AE32
monochromatic
#2A174F #44247E #5D32AE #7C50CD #9F80DA

Accessibility & contrast

On white

8.29
#5D32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5D32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32AE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32AE#FFFFFF#000000##FFFFFF
##5D32AE1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d32ae;
/* rgb */ color: rgb(93, 50, 174);
/* oklch */ color: oklch(44.6% 0.185 293.3);
Tailwind
colors: {
  custom: {
    50: '#926ec7',
    500: '#5d32ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d32ae;
$custom-light: #926ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32ae",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 260.806,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.18482,
    "h": 293.3
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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