#5E32C9#5E32C9

#5E32C9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.216 H 288.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5E32C9
RGBrgb(94, 50, 201)
HSLhsl(257, 60%, 49%)
HSVhsv(257, 75%, 79%)
CMYKcmyk(53.2%, 75.1%, 0%, 21.2%)
CIE-LABlab(35.75, 54.72, -71.12)
CIE-LCHlch(35.75, 89.74, 307.58°)
OKLaboklab(47.06% 0.0683 -0.2045)
OKLCHoklch(47.06% 0.216 288.5)
XYZxyz(16.2962, 8.8771, 56.1018)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32C9 #9DC932
analogous
#3252C9 #5E32C9 #A932C9
triadic
#5E32C9 #C95E32 #32C95E
tetradic
#5E32C9 #C93252 #9DC932 #32C9A9
square
#5E32C9 #C93252 #9DC932 #32C9A9
split-complementary
#5E32C9 #C9A932 #52C932
monochromatic
#301A67 #472698 #5E32C9 #8361D8 #AA92E4

Accessibility & contrast

On white

7.57
#5E32C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5E32C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32C9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32C9#FFFFFF#000000##FFFFFF
##5E32C91.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0050C6
Tritanopia (blue-blind)
#335C7C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e32c9;
/* rgb */ color: rgb(94, 50, 201);
/* oklch */ color: oklch(47.1% 0.216 288.5);
Tailwind
colors: {
  custom: {
    50: '#976fdb',
    500: '#5e32c9',
    950: '#000000',
  },
}
SCSS
$custom: #5e32c9;
$custom-light: #976fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32c9",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 257.483,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.21563,
    "h": 288.5
  },
  "luminance": 0.08878
}

Semantic roles & 50–950 ramp

primary
#5E32C9
secondary
#BACF88
accent
#E344B5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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