#5D32C9#5D32C9

#5D32C9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.216 H 288.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5D32C9
RGBrgb(93, 50, 201)
HSLhsl(257, 60%, 49%)
HSVhsv(257, 75%, 79%)
CMYKcmyk(53.7%, 75.1%, 0%, 21.2%)
CIE-LABlab(35.64, 54.59, -71.29)
CIE-LCHlch(35.64, 89.79, 307.44°)
OKLaboklab(46.97% 0.0669 -0.2051)
OKLCHoklch(46.97% 0.216 288.1)
XYZxyz(16.1943, 8.8246, 56.0970)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32C9 #9EC932
analogous
#3253C9 #5D32C9 #A932C9
triadic
#5D32C9 #C95D32 #32C95D
tetradic
#5D32C9 #C93253 #9EC932 #32C9A9
square
#5D32C9 #C93253 #9EC932 #32C9A9
split-complementary
#5D32C9 #C9A932 #53C932
monochromatic
#301A67 #462698 #5D32C9 #8261D8 #A992E4

Accessibility & contrast

On white

7.59
#5D32C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5D32C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32C9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32C9#FFFFFF#000000##FFFFFF
##5D32C91.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d32c9;
/* rgb */ color: rgb(93, 50, 201);
/* oklch */ color: oklch(47.0% 0.216 288.1);
Tailwind
colors: {
  custom: {
    50: '#966fdb',
    500: '#5d32c9',
    950: '#000000',
  },
}
SCSS
$custom: #5d32c9;
$custom-light: #966fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32c9",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 257.086,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46965,
    "c": 0.21568,
    "h": 288.1
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#5D32C9
secondary
#BBCF88
accent
#E344B6
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5D32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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