#5D32BC#5D32BC

#5D32BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.201 H 290.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5D32BC
RGBrgb(93, 50, 188)
HSLhsl(259, 58%, 47%)
HSVhsv(259, 73%, 74%)
CMYKcmyk(50.5%, 73.4%, 0%, 26.3%)
CIE-LABlab(34.47, 51.00, -65.59)
CIE-LCHlch(34.47, 83.09, 307.87°)
OKLaboklab(45.78% 0.0701 -0.1884)
OKLCHoklch(45.78% 0.201 290.4)
XYZxyz(14.7293, 8.2386, 48.3813)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32BC #91BC32
analogous
#324CBC #5D32BC #A232BC
triadic
#5D32BC #BC5D32 #32BC5D
tetradic
#5D32BC #BC324C #91BC32 #32BCA2
square
#5D32BC #BC324C #91BC32 #32BCA2
split-complementary
#5D32BC #BCA232 #4CBC32
monochromatic
#2D185B #45258C #5D32BC #7F58D3 #A489E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D32BC#FFFFFF#000000##FFFFFF
##5D32BC1.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)
#0053C0
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#3C5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d32bc;
/* rgb */ color: rgb(93, 50, 188);
/* oklch */ color: oklch(45.8% 0.201 290.4);
Tailwind
colors: {
  custom: {
    50: '#946ed1',
    500: '#5d32bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d32bc;
$custom-light: #946ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32bc",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 258.696,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45784,
    "c": 0.20097,
    "h": 290.4
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#5D32BC
secondary
#B3C980
accent
#E147B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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