#5E32A7#5E32A7

#5E32A7 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.177 H 295.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5E32A7
RGBrgb(94, 50, 167)
HSLhsl(263, 54%, 43%)
HSVhsv(263, 70%, 65%)
CMYKcmyk(43.7%, 70.1%, 0%, 34.5%)
CIE-LABlab(32.81, 45.42, -55.81)
CIE-LCHlch(32.81, 71.96, 309.14°)
OKLaboklab(44.08% 0.0759 -0.1596)
OKLCHoklch(44.08% 0.177 295.4)
XYZxyz(12.7299, 7.4506, 37.3191)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E32A7 #7BA732
analogous
#3241A7 #5E32A7 #9832A7
triadic
#5E32A7 #A75E32 #32A75E
tetradic
#5E32A7 #A73241 #7BA732 #32A798
square
#5E32A7 #A73241 #7BA732 #32A798
split-complementary
#5E32A7 #A79832 #41A732
monochromatic
#291649 #432478 #5E32A7 #7C4DCA #9E7CD8

Accessibility & contrast

On white

8.43
#5E32A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5E32A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E32A7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E32A7#FFFFFF#000000##FFFFFF
##5E32A71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#4A4F69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e32a7;
/* rgb */ color: rgb(94, 50, 167);
/* oklch */ color: oklch(44.1% 0.177 295.4);
Tailwind
colors: {
  custom: {
    50: '#926dc2',
    500: '#5e32a7',
    950: '#000000',
  },
}
SCSS
$custom: #5e32a7;
$custom-light: #926dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e32a7",
  "rgb": {
    "r": 94,
    "g": 50,
    "b": 167
  },
  "hsl": {
    "h": 262.564,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44081,
    "c": 0.17671,
    "h": 295.4
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#5E32A7
secondary
#A4C074
accent
#DD4BA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #5E32A7

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

Preview Lab → · Contrast checker → · Palette generator →

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