#4B32AC#4B32AC

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

Color values

HEX#4B32AC
RGBrgb(75, 50, 172)
HSLhsl(252, 55%, 44%)
HSVhsv(252, 71%, 67%)
CMYKcmyk(56.4%, 70.9%, 0%, 32.5%)
CIE-LABlab(31.24, 43.57, -61.45)
CIE-LCHlch(31.24, 75.33, 305.34°)
OKLaboklab(42.63% 0.0473 -0.1768)
OKLCHoklch(42.63% 0.183 285)
XYZxyz(11.4864, 6.7549, 39.7203)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32AC #93AC32
analogous
#3256AC #4B32AC #8832AC
triadic
#4B32AC #AC4B32 #32AC4B
tetradic
#4B32AC #AC3256 #93AC32 #32AC88
square
#4B32AC #AC3256 #93AC32 #32AC88
split-complementary
#4B32AC #AC8832 #56AC32
monochromatic
#22164D #36247D #4B32AC #694FCC #917FDA

Accessibility & contrast

On white

8.93
#4B32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4B32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B32AC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B32AC#FFFFFF#000000##FFFFFF
##4B32AC1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b32ac;
/* rgb */ color: rgb(75, 50, 172);
/* oklch */ color: oklch(42.6% 0.183 285.0);
Tailwind
colors: {
  custom: {
    50: '#886cc6',
    500: '#4b32ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b32ac;
$custom-light: #886cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32ac",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 252.295,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.18302,
    "h": 285
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B32AC

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

Preview Lab → · Contrast checker → · Palette generator →

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