#5E32DB#5E32DB

#5E32DB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.236 H 285.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5E32DB
RGBrgb(94, 50, 219)
HSLhsl(256, 70%, 53%)
HSVhsv(256, 77%, 86%)
CMYKcmyk(57.1%, 77.2%, 0%, 14.1%)
CIE-LABlab(37.43, 59.65, -78.75)
CIE-LCHlch(37.43, 98.79, 307.14°)
OKLaboklab(48.75% 0.0634 -0.2268)
OKLCHoklch(48.75% 0.236 285.6)
XYZxyz(18.5390, 9.7743, 67.9138)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32DB #AFDB32
analogous
#325BDB #5E32DB #B232DB
triadic
#5E32DB #DB5E32 #32DB5E
tetradic
#5E32DB #DB325B #AFDB32 #32DBB2
square
#5E32DB #DB325B #AFDB32 #32DBB2
split-complementary
#5E32DB #DBB232 #5BDB32
monochromatic
#31167D #451FB1 #5E32DB #8766E4 #B09AED

Accessibility & contrast

On white

7.11
#5E32DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5E32DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32DB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32DB#FFFFFF#000000##FFFFFF
##5E32DB1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e32db;
/* rgb */ color: rgb(94, 50, 219);
/* oklch */ color: oklch(48.8% 0.236 285.6);
Tailwind
colors: {
  custom: {
    50: '#9970e8',
    500: '#5e32db',
    950: '#000000',
  },
}
SCSS
$custom: #5e32db;
$custom-light: #9970e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32db",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 219
  },
  "hsl": {
    "h": 255.621,
    "s": 70.124,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.23554,
    "h": 285.6
  },
  "luminance": 0.09775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E32DB

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

Preview Lab → · Contrast checker → · Palette generator →

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