#5D32C6#5D32C6

#5D32C6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.212 H 288.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5D32C6
RGBrgb(93, 50, 198)
HSLhsl(257, 60%, 49%)
HSVhsv(257, 75%, 78%)
CMYKcmyk(53%, 74.7%, 0%, 22.4%)
CIE-LABlab(35.37, 53.76, -69.99)
CIE-LCHlch(35.37, 88.25, 307.53°)
OKLaboklab(46.69% 0.0676 -0.2013)
OKLCHoklch(46.69% 0.212 288.6)
XYZxyz(15.8449, 8.6848, 54.2566)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32C6 #9BC632
analogous
#3251C6 #5D32C6 #A732C6
triadic
#5D32C6 #C65D32 #32C65D
tetradic
#5D32C6 #C63251 #9BC632 #32C6A7
square
#5D32C6 #C63251 #9BC632 #32C6A7
split-complementary
#5D32C6 #C6A732 #51C632
monochromatic
#2F1964 #462695 #5D32C6 #815FD7 #A890E3

Accessibility & contrast

On white

7.67
#5D32C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5D32C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32C6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32C6#FFFFFF#000000##FFFFFF
##5D32C61.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004FC3
Tritanopia (blue-blind)
#345B7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5d32c6;
/* rgb */ color: rgb(93, 50, 198);
/* oklch */ color: oklch(46.7% 0.212 288.6);
Tailwind
colors: {
  custom: {
    50: '#966fd8',
    500: '#5d32c6',
    950: '#000000',
  },
}
SCSS
$custom: #5d32c6;
$custom-light: #966fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32c6",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 257.432,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46689,
    "c": 0.21231,
    "h": 288.6
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#5D32C6
secondary
#B9CD86
accent
#E345B5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5D32C6

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

Preview Lab → · Contrast checker → · Palette generator →

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