#4C32AE#4C32AE

#4C32AE is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.9% C 0.185 H 285.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4C32AE
RGBrgb(76, 50, 174)
HSLhsl(253, 55%, 44%)
HSVhsv(253, 71%, 68%)
CMYKcmyk(56.3%, 71.3%, 0%, 31.8%)
CIE-LABlab(31.52, 44.33, -62.20)
CIE-LCHlch(31.52, 76.38, 305.48°)
OKLaboklab(42.9% 0.0483 -0.179)
OKLCHoklch(42.9% 0.185 285.1)
XYZxyz(11.7588, 6.8730, 40.7432)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32AE #94AE32
analogous
#3256AE #4C32AE #8A32AE
triadic
#4C32AE #AE4C32 #32AE4C
tetradic
#4C32AE #AE3256 #94AE32 #32AE8A
square
#4C32AE #AE3256 #94AE32 #32AE8A
split-complementary
#4C32AE #AE8A32 #56AE32
monochromatic
#22174F #37247E #4C32AE #6A50CD #9380DA

Accessibility & contrast

On white

8.84
#4C32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4C32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32AE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32AE#FFFFFF#000000##FFFFFF
##4C32AE1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#1D536C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c32ae;
/* rgb */ color: rgb(76, 50, 174);
/* oklch */ color: oklch(42.9% 0.185 285.1);
Tailwind
colors: {
  custom: {
    50: '#886cc7',
    500: '#4c32ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c32ae;
$custom-light: #886cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32ae",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 252.581,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.18537,
    "h": 285.1
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#4C32AE
secondary
#B4C478
accent
#DF49BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4C32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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