#4E32AE#4E32AE

#4E32AE is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.185 H 286.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#4E32AE
RGBrgb(78, 50, 174)
HSLhsl(254, 55%, 44%)
HSVhsv(254, 71%, 68%)
CMYKcmyk(55.2%, 71.3%, 0%, 31.8%)
CIE-LABlab(31.71, 44.64, -61.88)
CIE-LCHlch(31.71, 76.30, 305.81°)
OKLaboklab(43.08% 0.0512 -0.178)
OKLCHoklch(43.08% 0.185 286.1)
XYZxyz(11.9202, 6.9562, 40.7508)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E32AE #92AE32
analogous
#3254AE #4E32AE #8C32AE
triadic
#4E32AE #AE4E32 #32AE4E
tetradic
#4E32AE #AE3254 #92AE32 #32AE8C
square
#4E32AE #AE3254 #92AE32 #32AE8C
split-complementary
#4E32AE #AE8C32 #54AE32
monochromatic
#23174F #39247E #4E32AE #6C50CD #9480DA

Accessibility & contrast

On white

8.78
#4E32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#4E32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E32AE
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E32AE#FFFFFF#000000##FFFFFF
##4E32AE1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#24536C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4e32ae;
/* rgb */ color: rgb(78, 50, 174);
/* oklch */ color: oklch(43.1% 0.185 286.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cc7',
    500: '#4e32ae',
    950: '#000000',
  },
}
SCSS
$custom: #4e32ae;
$custom-light: #8a6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e32ae",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 253.548,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4308,
    "c": 0.18518,
    "h": 286.1
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#4E32AE
secondary
#B3C478
accent
#DF49BD
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4E32AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4E32AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva