#5D32B3#5D32B3

#5D32B3 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.191 H 292.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5D32B3
RGBrgb(93, 50, 179)
HSLhsl(260, 56%, 45%)
HSVhsv(260, 72%, 70%)
CMYKcmyk(48%, 72.1%, 0%, 29.8%)
CIE-LABlab(33.70, 48.52, -61.54)
CIE-LCHlch(33.70, 78.37, 308.25°)
OKLaboklab(44.99% 0.0721 -0.1765)
OKLCHoklch(44.99% 0.191 292.2)
XYZxyz(13.7892, 7.8626, 43.4302)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32B3 #88B332
analogous
#3247B3 #5D32B3 #9E32B3
triadic
#5D32B3 #B35D32 #32B35D
tetradic
#5D32B3 #B33247 #88B332 #32B39E
square
#5D32B3 #B33247 #88B332 #32B39E
split-complementary
#5D32B3 #B39E32 #47B332
monochromatic
#2B1753 #442583 #5D32B3 #7C53CF #A183DC

Accessibility & contrast

On white

8.16
#5D32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5D32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32B3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32B3#FFFFFF#000000##FFFFFF
##5D32B31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#42546F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5d32b3;
/* rgb */ color: rgb(93, 50, 179);
/* oklch */ color: oklch(45.0% 0.191 292.2);
Tailwind
colors: {
  custom: {
    50: '#936ecb',
    500: '#5d32b3',
    950: '#000000',
  },
}
SCSS
$custom: #5d32b3;
$custom-light: #936ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32b3",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 260,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44992,
    "c": 0.19062,
    "h": 292.2
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#5D32B3
secondary
#ADC67B
accent
#E048AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5D32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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