#5E32B6#5E32B6

#5E32B6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.194 H 292.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5E32B6
RGBrgb(94, 50, 182)
HSLhsl(260, 57%, 45%)
HSVhsv(260, 73%, 71%)
CMYKcmyk(48.4%, 72.5%, 0%, 28.6%)
CIE-LABlab(34.06, 49.51, -62.72)
CIE-LCHlch(34.06, 79.91, 308.29°)
OKLaboklab(45.36% 0.0729 -0.1799)
OKLCHoklch(45.36% 0.194 292.1)
XYZxyz(14.1978, 8.0378, 45.0503)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32B6 #8AB632
analogous
#3248B6 #5E32B6 #A032B6
triadic
#5E32B6 #B65E32 #32B65E
tetradic
#5E32B6 #B63248 #8AB632 #32B6A0
square
#5E32B6 #B63248 #8AB632 #32B6A0
split-complementary
#5E32B6 #B6A032 #48B632
monochromatic
#2C1856 #452586 #5E32B6 #7E55D0 #A285DD

Accessibility & contrast

On white

8.05
#5E32B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5E32B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32B6
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32B6#FFFFFF#000000##FFFFFF
##5E32B61.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#425571
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e32b6;
/* rgb */ color: rgb(94, 50, 182);
/* oklch */ color: oklch(45.4% 0.194 292.1);
Tailwind
colors: {
  custom: {
    50: '#946ecd',
    500: '#5e32b6',
    950: '#000000',
  },
}
SCSS
$custom: #5e32b6;
$custom-light: #946ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32b6",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 260,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.1941,
    "h": 292.1
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#5E32B6
secondary
#AEC77D
accent
#E048AD
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5E32B6

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

Preview Lab → · Contrast checker → · Palette generator →

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