#5D32BF#5D32BF

#5D32BF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.204 H 289.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5D32BF
RGBrgb(93, 50, 191)
HSLhsl(258, 59%, 47%)
HSVhsv(258, 74%, 75%)
CMYKcmyk(51.3%, 73.8%, 0%, 25.1%)
CIE-LABlab(34.74, 51.83, -66.92)
CIE-LCHlch(34.74, 84.64, 307.76°)
OKLaboklab(46.05% 0.0694 -0.1923)
OKLCHoklch(46.05% 0.204 289.8)
XYZxyz(15.0561, 8.3693, 50.1022)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32BF #94BF32
analogous
#324EBF #5D32BF #A432BF
triadic
#5D32BF #BF5D32 #32BF5D
tetradic
#5D32BF #BF324E #94BF32 #32BFA4
square
#5D32BF #BF324E #94BF32 #32BFA4
split-complementary
#5D32BF #BFA432 #4EBF32
monochromatic
#2E195E #45258E #5D32BF #7F5AD4 #A58BE1

Accessibility & contrast

On white

7.85
#5D32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5D32BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32BF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32BF#FFFFFF#000000##FFFFFF
##5D32BF1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#3A5876
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5d32bf;
/* rgb */ color: rgb(93, 50, 191);
/* oklch */ color: oklch(46.1% 0.204 289.8);
Tailwind
colors: {
  custom: {
    50: '#956ed3',
    500: '#5d32bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d32bf;
$custom-light: #956ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32bf",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 258.298,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46053,
    "c": 0.20439,
    "h": 289.8
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#5D32BF
secondary
#B5CB82
accent
#E246B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5D32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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