#5E32B3#5E32B3

#5E32B3 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.191 H 292.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5E32B3
RGBrgb(94, 50, 179)
HSLhsl(260, 56%, 45%)
HSVhsv(260, 72%, 70%)
CMYKcmyk(47.5%, 72.1%, 0%, 29.8%)
CIE-LABlab(33.81, 48.69, -61.36)
CIE-LCHlch(33.81, 78.33, 308.44°)
OKLaboklab(45.1% 0.0735 -0.1759)
OKLCHoklch(45.1% 0.191 292.7)
XYZxyz(13.8911, 7.9151, 43.4349)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32B3 #87B332
analogous
#3247B3 #5E32B3 #9E32B3
triadic
#5E32B3 #B35E32 #32B35E
tetradic
#5E32B3 #B33247 #87B332 #32B39E
square
#5E32B3 #B33247 #87B332 #32B39E
split-complementary
#5E32B3 #B39E32 #47B332
monochromatic
#2C1753 #452583 #5E32B3 #7D53CF #A283DC

Accessibility & contrast

On white

8.13
#5E32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5E32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32B3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32B3#FFFFFF#000000##FFFFFF
##5E32B31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#44536F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e32b3;
/* rgb */ color: rgb(94, 50, 179);
/* oklch */ color: oklch(45.1% 0.191 292.7);
Tailwind
colors: {
  custom: {
    50: '#936ecb',
    500: '#5e32b3',
    950: '#000000',
  },
}
SCSS
$custom: #5e32b3;
$custom-light: #936ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32b3",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 260.465,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.19065,
    "h": 292.7
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#5E32B3
secondary
#ACC67B
accent
#E048AC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5E32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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