#5D32CF#5D32CF

#5D32CF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.222 H 287.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5D32CF
RGBrgb(93, 50, 207)
HSLhsl(256, 62%, 50%)
HSVhsv(256, 76%, 81%)
CMYKcmyk(55.1%, 75.8%, 0%, 18.8%)
CIE-LABlab(36.20, 56.24, -73.87)
CIE-LCHlch(36.20, 92.84, 307.28°)
OKLaboklab(47.52% 0.0653 -0.2126)
OKLCHoklch(47.52% 0.222 287.1)
XYZxyz(16.9139, 9.1124, 59.8870)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32CF #A4CF32
analogous
#3256CF #5D32CF #AB32CF
triadic
#5D32CF #CF5D32 #32CF5D
tetradic
#5D32CF #CF3256 #A4CF32 #32CFAB
square
#5D32CF #CF3256 #A4CF32 #32CFAB
split-complementary
#5D32CF #CFAB32 #56CF32
monochromatic
#301A6D #46259F #5D32CF #8464DB #AB95E6

Accessibility & contrast

On white

7.44
#5D32CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5D32CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32CF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32CF#FFFFFF#000000##FFFFFF
##5D32CF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#0051CC
Tritanopia (blue-blind)
#2A5F7F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5d32cf;
/* rgb */ color: rgb(93, 50, 207);
/* oklch */ color: oklch(47.5% 0.222 287.1);
Tailwind
colors: {
  custom: {
    50: '#976fdf',
    500: '#5d32cf',
    950: '#000000',
  },
}
SCSS
$custom: #5d32cf;
$custom-light: #976fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32cf",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 207
  },
  "hsl": {
    "h": 256.433,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47523,
    "c": 0.22238,
    "h": 287.1
  },
  "luminance": 0.09113
}

Semantic roles & 50–950 ramp

primary
#5D32CF
secondary
#BED18B
accent
#E543B9
background
#FAF6FD
surface
#F3ECFB
border
#CDC7D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5D32CF

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

Preview Lab → · Contrast checker → · Palette generator →

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