#5D32BB#5D32BB

#5D32BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.200 H 290.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5D32BB
RGBrgb(93, 50, 187)
HSLhsl(259, 58%, 46%)
HSVhsv(259, 73%, 73%)
CMYKcmyk(50.3%, 73.3%, 0%, 26.7%)
CIE-LABlab(34.39, 50.73, -65.15)
CIE-LCHlch(34.39, 82.57, 307.91°)
OKLaboklab(45.7% 0.0703 -0.187)
OKLCHoklch(45.7% 0.2 290.6)
XYZxyz(14.6219, 8.1956, 47.8156)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32BB #90BB32
analogous
#324CBB #5D32BB #A232BB
triadic
#5D32BB #BB5D32 #32BB5D
tetradic
#5D32BB #BB324C #90BB32 #32BBA2
square
#5D32BB #BB324C #90BB32 #32BBA2
split-complementary
#5D32BB #BBA232 #4CBB32
monochromatic
#2D185A #45258B #5D32BB #7E58D2 #A388DF

Accessibility & contrast

On white

7.96
#5D32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5D32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32BB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32BB#FFFFFF#000000##FFFFFF
##5D32BB1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#3D5774
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d32bb;
/* rgb */ color: rgb(93, 50, 187);
/* oklch */ color: oklch(45.7% 0.200 290.6);
Tailwind
colors: {
  custom: {
    50: '#946ed1',
    500: '#5d32bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d32bb;
$custom-light: #946ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32bb",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 258.832,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45695,
    "c": 0.19982,
    "h": 290.6
  },
  "luminance": 0.08196
}

Semantic roles & 50–950 ramp

primary
#5D32BB
secondary
#B2C980
accent
#E147B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5D32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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