#5D32DB#5D32DB

#5D32DB is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.236 H 285.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5D32DB
RGBrgb(93, 50, 219)
HSLhsl(255, 70%, 53%)
HSVhsv(255, 77%, 86%)
CMYKcmyk(57.5%, 77.2%, 0%, 14.1%)
CIE-LABlab(37.34, 59.53, -78.92)
CIE-LCHlch(37.34, 98.85, 307.03°)
OKLaboklab(48.66% 0.0619 -0.2273)
OKLCHoklch(48.66% 0.236 285.2)
XYZxyz(18.4371, 9.7217, 67.9090)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D32DB #B0DB32
analogous
#325CDB #5D32DB #B132DB
triadic
#5D32DB #DB5D32 #32DB5D
tetradic
#5D32DB #DB325C #B0DB32 #32DBB1
square
#5D32DB #DB325C #B0DB32 #32DBB1
split-complementary
#5D32DB #DBB132 #5CDB32
monochromatic
#30167D #441FB1 #5D32DB #8666E4 #AF9AED

Accessibility & contrast

On white

7.13
#5D32DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5D32DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D32DB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D32DB#FFFFFF#000000##FFFFFF
##5D32DB1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE0
Deuteranopia (green-blind)
#0053D8
Tritanopia (blue-blind)
#176386
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d32db;
/* rgb */ color: rgb(93, 50, 219);
/* oklch */ color: oklch(48.7% 0.236 285.2);
Tailwind
colors: {
  custom: {
    50: '#9970e8',
    500: '#5d32db',
    950: '#000000',
  },
}
SCSS
$custom: #5d32db;
$custom-light: #9970e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d32db",
  "rgb": {
    "r": 93,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 255.266,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48661,
    "c": 0.23564,
    "h": 285.2
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#5D32DB
secondary
#C6D990
accent
#ED3BC0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5D32DB

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

Preview Lab → · Contrast checker → · Palette generator →

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