#5D32B0#5D32B0

#5D32B0 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.187 H 292.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5D32B0
RGBrgb(93, 50, 176)
HSLhsl(260, 56%, 44%)
HSVhsv(260, 72%, 69%)
CMYKcmyk(47.2%, 71.6%, 0%, 31%)
CIE-LABlab(33.44, 47.70, -60.17)
CIE-LCHlch(33.44, 76.78, 308.40°)
OKLaboklab(44.73% 0.0727 -0.1724)
OKLCHoklch(44.73% 0.187 292.9)
XYZxyz(13.4891, 7.7425, 41.8496)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32B0 #85B032
analogous
#3246B0 #5D32B0 #9C32B0
triadic
#5D32B0 #B05D32 #32B05D
tetradic
#5D32B0 #B03246 #85B032 #32B09C
square
#5D32B0 #B03246 #85B032 #32B09C
split-complementary
#5D32B0 #B09C32 #46B032
monochromatic
#2B1751 #442480 #5D32B0 #7C51CE #A081DB

Accessibility & contrast

On white

8.24
#5D32B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5D32B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32B0
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32B0#FFFFFF#000000##FFFFFF
##5D32B01.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#44526E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d32b0;
/* rgb */ color: rgb(93, 50, 176);
/* oklch */ color: oklch(44.7% 0.187 292.9);
Tailwind
colors: {
  custom: {
    50: '#936ec9',
    500: '#5d32b0',
    950: '#000000',
  },
}
SCSS
$custom: #5d32b0;
$custom-light: #936ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32b0",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 176
  },
  "hsl": {
    "h": 260.476,
    "s": 55.752,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44733,
    "c": 0.18715,
    "h": 292.9
  },
  "luminance": 0.07743
}

Semantic roles & 50–950 ramp

primary
#5D32B0
secondary
#ABC479
accent
#DF49AC
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D32B0

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

Preview Lab → · Contrast checker → · Palette generator →

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