#5E32BF#5E32BF

#5E32BF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.204 H 290.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5E32BF
RGBrgb(94, 50, 191)
HSLhsl(259, 59%, 47%)
HSVhsv(259, 74%, 75%)
CMYKcmyk(50.8%, 73.8%, 0%, 25.1%)
CIE-LABlab(34.85, 51.98, -66.74)
CIE-LCHlch(34.85, 84.60, 307.91°)
OKLaboklab(46.15% 0.0708 -0.1917)
OKLCHoklch(46.15% 0.204 290.3)
XYZxyz(15.1580, 8.4218, 50.1070)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32BF #93BF32
analogous
#324DBF #5E32BF #A432BF
triadic
#5E32BF #BF5E32 #32BF5E
tetradic
#5E32BF #BF324D #93BF32 #32BFA4
square
#5E32BF #BF324D #93BF32 #32BFA4
split-complementary
#5E32BF #BFA432 #4DBF32
monochromatic
#2E195E #46258E #5E32BF #805AD4 #A68BE1

Accessibility & contrast

On white

7.82
#5E32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5E32BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32BF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32BF#FFFFFF#000000##FFFFFF
##5E32BF1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#3C5876
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e32bf;
/* rgb */ color: rgb(94, 50, 191);
/* oklch */ color: oklch(46.2% 0.204 290.3);
Tailwind
colors: {
  custom: {
    50: '#956ed3',
    500: '#5e32bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e32bf;
$custom-light: #956ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32bf",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 258.723,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46153,
    "c": 0.20436,
    "h": 290.3
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#5E32BF
secondary
#B4CB82
accent
#E246B1
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5E32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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