#5E32AF#5E32AF

#5E32AF is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.186 H 293.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5E32AF
RGBrgb(94, 50, 175)
HSLhsl(261, 56%, 44%)
HSVhsv(261, 71%, 69%)
CMYKcmyk(46.3%, 71.4%, 0%, 31.4%)
CIE-LABlab(33.47, 47.60, -59.53)
CIE-LCHlch(33.47, 76.22, 308.65°)
OKLaboklab(44.75% 0.0744 -0.1705)
OKLCHoklch(44.75% 0.186 293.6)
XYZxyz(13.4924, 7.7556, 41.3352)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32AF #83AF32
analogous
#3245AF #5E32AF #9D32AF
triadic
#5E32AF #AF5E32 #32AF5E
tetradic
#5E32AF #AF3245 #83AF32 #32AF9D
square
#5E32AF #AF3245 #83AF32 #32AF9D
split-complementary
#5E32AF #AF9D32 #45AF32
monochromatic
#2B1750 #44247F #5E32AF #7D51CD #A081DB

Accessibility & contrast

On white

8.23
#5E32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5E32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32AF
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32AF#FFFFFF#000000##FFFFFF
##5E32AF1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#46526D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e32af;
/* rgb */ color: rgb(94, 50, 175);
/* oklch */ color: oklch(44.8% 0.186 293.6);
Tailwind
colors: {
  custom: {
    50: '#936ec8',
    500: '#5e32af',
    950: '#000000',
  },
}
SCSS
$custom: #5e32af;
$custom-light: #936ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32af",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 261.12,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.18603,
    "h": 293.6
  },
  "luminance": 0.07756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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