#4B32AE#4B32AE

#4B32AE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.185 H 284.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4B32AE
RGBrgb(75, 50, 174)
HSLhsl(252, 55%, 44%)
HSVhsv(252, 71%, 68%)
CMYKcmyk(56.9%, 71.3%, 0%, 31.8%)
CIE-LABlab(31.42, 44.18, -62.35)
CIE-LCHlch(31.42, 76.42, 305.32°)
OKLaboklab(42.81% 0.0469 -0.1795)
OKLCHoklch(42.81% 0.185 284.6)
XYZxyz(11.6799, 6.8324, 40.7395)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32AE #95AE32
analogous
#3257AE #4B32AE #8932AE
triadic
#4B32AE #AE4B32 #32AE4B
tetradic
#4B32AE #AE3257 #95AE32 #32AE89
square
#4B32AE #AE3257 #95AE32 #32AE89
split-complementary
#4B32AE #AE8932 #57AE32
monochromatic
#22174F #37247E #4B32AE #6950CD #9280DA

Accessibility & contrast

On white

8.87
#4B32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B32AE
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32AE#FFFFFF#000000##FFFFFF
##4B32AE1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b32ae;
/* rgb */ color: rgb(75, 50, 174);
/* oklch */ color: oklch(42.8% 0.185 284.6);
Tailwind
colors: {
  custom: {
    50: '#886cc7',
    500: '#4b32ae',
    950: '#000000',
  },
}
SCSS
$custom: #4b32ae;
$custom-light: #886cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32ae",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 252.097,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.18549,
    "h": 284.6
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#4B32AE
secondary
#B4C478
accent
#DF49C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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