#5D32CB#5D32CB

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

Color values

HEX#5D32CB
RGBrgb(93, 50, 203)
HSLhsl(257, 60%, 50%)
HSVhsv(257, 75%, 80%)
CMYKcmyk(54.2%, 75.4%, 0%, 20.4%)
CIE-LABlab(35.83, 55.14, -72.15)
CIE-LCHlch(35.83, 90.81, 307.39°)
OKLaboklab(47.15% 0.0663 -0.2076)
OKLCHoklch(47.15% 0.218 287.7)
XYZxyz(16.4311, 8.9193, 57.3441)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32CB #A0CB32
analogous
#3253CB #5D32CB #AA32CB
triadic
#5D32CB #CB5D32 #32CB5D
tetradic
#5D32CB #CB3253 #A0CB32 #32CBAA
square
#5D32CB #CB3253 #A0CB32 #32CBAA
split-complementary
#5D32CB #CBAA32 #53CB32
monochromatic
#301A69 #47269A #5D32CB #8362D8 #AA93E4

Accessibility & contrast

On white

7.54
#5D32CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D32CB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32CB#FFFFFF#000000##FFFFFF
##5D32CB1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CF
Deuteranopia (green-blind)
#0050C8
Tritanopia (blue-blind)
#2F5D7D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5d32cb;
/* rgb */ color: rgb(93, 50, 203);
/* oklch */ color: oklch(47.1% 0.218 287.7);
Tailwind
colors: {
  custom: {
    50: '#966fdc',
    500: '#5d32cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d32cb;
$custom-light: #966fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32cb",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 256.863,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4715,
    "c": 0.21792,
    "h": 287.7
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#5D32CB
secondary
#BCCF89
accent
#E444B7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D32CB

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

Preview Lab → · Contrast checker → · Palette generator →

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