#5D32AB#5D32AB

#5D32AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.181 H 294.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#5D32AB
RGBrgb(93, 50, 171)
HSLhsl(261, 55%, 43%)
HSVhsv(261, 71%, 67%)
CMYKcmyk(45.6%, 70.8%, 0%, 32.9%)
CIE-LABlab(33.02, 46.33, -57.87)
CIE-LCHlch(33.02, 74.13, 308.68°)
OKLaboklab(44.31% 0.0737 -0.1657)
OKLCHoklch(44.31% 0.181 294)
XYZxyz(13.0035, 7.5483, 39.2920)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32AB #80AB32
analogous
#3244AB #5D32AB #9932AB
triadic
#5D32AB #AB5D32 #32AB5D
tetradic
#5D32AB #AB3244 #80AB32 #32AB99
square
#5D32AB #AB3244 #80AB32 #32AB99
split-complementary
#5D32AB #AB9932 #44AB32
monochromatic
#29164C #43247C #5D32AB #7B4FCB #9F7ED9

Accessibility & contrast

On white

8.37
#5D32AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5D32AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32AB
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32AB#FFFFFF#000000##FFFFFF
##5D32AB1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#47506B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5d32ab;
/* rgb */ color: rgb(93, 50, 171);
/* oklch */ color: oklch(44.3% 0.181 294.0);
Tailwind
colors: {
  custom: {
    50: '#926dc5',
    500: '#5d32ab',
    950: '#000000',
  },
}
SCSS
$custom: #5d32ab;
$custom-light: #926dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32ab",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 261.322,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.18132,
    "h": 294
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#5D32AB
secondary
#A7C277
accent
#DE4AA9
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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