#5E32B0#5E32B0

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

Color values

HEX#5E32B0
RGBrgb(94, 50, 176)
HSLhsl(261, 56%, 44%)
HSVhsv(261, 72%, 69%)
CMYKcmyk(46.6%, 71.6%, 0%, 31%)
CIE-LABlab(33.55, 47.87, -59.98)
CIE-LCHlch(33.55, 76.75, 308.59°)
OKLaboklab(44.84% 0.0742 -0.1719)
OKLCHoklch(44.84% 0.187 293.3)
XYZxyz(13.5910, 7.7951, 41.8544)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32B0 #84B032
analogous
#3245B0 #5E32B0 #9D32B0
triadic
#5E32B0 #B05E32 #32B05E
tetradic
#5E32B0 #B03245 #84B032 #32B09D
square
#5E32B0 #B03245 #84B032 #32B09D
split-complementary
#5E32B0 #B09D32 #45B032
monochromatic
#2B1751 #452480 #5E32B0 #7D51CE #A181DB

Accessibility & contrast

On white

8.21
#5E32B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5E32B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32B0
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32B0#FFFFFF#000000##FFFFFF
##5E32B01.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#46526E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e32b0;
/* rgb */ color: rgb(94, 50, 176);
/* oklch */ color: oklch(44.8% 0.187 293.3);
Tailwind
colors: {
  custom: {
    50: '#936ec9',
    500: '#5e32b0',
    950: '#000000',
  },
}
SCSS
$custom: #5e32b0;
$custom-light: #936ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32b0",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 260.952,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.18719,
    "h": 293.3
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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