#4C32AC#4C32AC

#4C32AC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.183 H 285.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4C32AC
RGBrgb(76, 50, 172)
HSLhsl(253, 55%, 44%)
HSVhsv(253, 71%, 67%)
CMYKcmyk(55.8%, 70.9%, 0%, 32.5%)
CIE-LABlab(31.34, 43.73, -61.29)
CIE-LCHlch(31.34, 75.29, 305.50°)
OKLaboklab(42.72% 0.0487 -0.1763)
OKLCHoklch(42.72% 0.183 285.4)
XYZxyz(11.5652, 6.7956, 39.7240)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32AC #92AC32
analogous
#3255AC #4C32AC #8932AC
triadic
#4C32AC #AC4C32 #32AC4C
tetradic
#4C32AC #AC3255 #92AC32 #32AC89
square
#4C32AC #AC3255 #92AC32 #32AC89
split-complementary
#4C32AC #AC8932 #55AC32
monochromatic
#22164D #37247D #4C32AC #6A4FCC #927FDA

Accessibility & contrast

On white

8.90
#4C32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4C32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32AC
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32AC#FFFFFF#000000##FFFFFF
##4C32AC1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#20526B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c32ac;
/* rgb */ color: rgb(76, 50, 172);
/* oklch */ color: oklch(42.7% 0.183 285.4);
Tailwind
colors: {
  custom: {
    50: '#886cc6',
    500: '#4c32ac',
    950: '#000000',
  },
}
SCSS
$custom: #4c32ac;
$custom-light: #886cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32ac",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 252.787,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42715,
    "c": 0.18293,
    "h": 285.4
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#4C32AC
secondary
#B3C377
accent
#DE4ABF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4C32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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