#5E32BB#5E32BB

#5E32BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.200 H 291.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5E32BB
RGBrgb(94, 50, 187)
HSLhsl(259, 58%, 46%)
HSVhsv(259, 73%, 73%)
CMYKcmyk(49.7%, 73.3%, 0%, 26.7%)
CIE-LABlab(34.49, 50.88, -64.97)
CIE-LCHlch(34.49, 82.52, 308.07°)
OKLaboklab(45.8% 0.0718 -0.1865)
OKLCHoklch(45.8% 0.2 291)
XYZxyz(14.7238, 8.2482, 47.8203)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32BB #8FBB32
analogous
#324BBB #5E32BB #A332BB
triadic
#5E32BB #BB5E32 #32BB5E
tetradic
#5E32BB #BB324B #8FBB32 #32BBA3
square
#5E32BB #BB324B #8FBB32 #32BBA3
split-complementary
#5E32BB #BBA332 #4BBB32
monochromatic
#2D185A #46258B #5E32BB #7F58D2 #A488DF

Accessibility & contrast

On white

7.93
#5E32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5E32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32BB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32BB#FFFFFF#000000##FFFFFF
##5E32BB1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#3F5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e32bb;
/* rgb */ color: rgb(94, 50, 187);
/* oklch */ color: oklch(45.8% 0.200 291.0);
Tailwind
colors: {
  custom: {
    50: '#956ed1',
    500: '#5e32bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e32bb;
$custom-light: #956ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32bb",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 259.27,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.19982,
    "h": 291
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#5E32BB
secondary
#B2C980
accent
#E147AF
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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