#4A32AC#4A32AC

#4A32AC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.183 H 284.5°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4A32AC
RGBrgb(74, 50, 172)
HSLhsl(252, 55%, 44%)
HSVhsv(252, 71%, 67%)
CMYKcmyk(57%, 70.9%, 0%, 32.5%)
CIE-LABlab(31.15, 43.42, -61.61)
CIE-LCHlch(31.15, 75.37, 305.17°)
OKLaboklab(42.54% 0.0459 -0.1773)
OKLCHoklch(42.54% 0.183 284.5)
XYZxyz(11.4088, 6.7149, 39.7167)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A32AC #94AC32
analogous
#3257AC #4A32AC #8732AC
triadic
#4A32AC #AC4A32 #32AC4A
tetradic
#4A32AC #AC3257 #94AC32 #32AC87
square
#4A32AC #AC3257 #94AC32 #32AC87
split-complementary
#4A32AC #AC8732 #57AC32
monochromatic
#21164D #36247D #4A32AC #684FCC #917FDA

Accessibility & contrast

On white

8.96
#4A32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4A32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A32AC
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A32AC#FFFFFF#000000##FFFFFF
##4A32AC1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#19526B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a32ac;
/* rgb */ color: rgb(74, 50, 172);
/* oklch */ color: oklch(42.5% 0.183 284.5);
Tailwind
colors: {
  custom: {
    50: '#876cc6',
    500: '#4a32ac',
    950: '#000000',
  },
}
SCSS
$custom: #4a32ac;
$custom-light: #876cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a32ac",
  "rgb": {
    "r": 74,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 251.803,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.18314,
    "h": 284.5
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#4A32AC
secondary
#B4C377
accent
#DE4AC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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