#4B32AB#4B32AB

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

Color values

HEX#4B32AB
RGBrgb(75, 50, 171)
HSLhsl(252, 55%, 43%)
HSVhsv(252, 71%, 67%)
CMYKcmyk(56.1%, 70.8%, 0%, 32.9%)
CIE-LABlab(31.15, 43.27, -61.00)
CIE-LCHlch(31.15, 74.79, 305.35°)
OKLaboklab(42.53% 0.0475 -0.1755)
OKLCHoklch(42.53% 0.182 285.1)
XYZxyz(11.3907, 6.7167, 39.2164)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B32AB #92AB32
analogous
#3255AB #4B32AB #8732AB
triadic
#4B32AB #AB4B32 #32AB4B
tetradic
#4B32AB #AB3255 #92AB32 #32AB87
square
#4B32AB #AB3255 #92AB32 #32AB87
split-complementary
#4B32AB #AB8732 #55AB32
monochromatic
#21164C #36247C #4B32AB #694FCB #917ED9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B32AB#FFFFFF#000000##FFFFFF
##4B32AB1.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)
#004DAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#1E526B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b32ab;
/* rgb */ color: rgb(75, 50, 171);
/* oklch */ color: oklch(42.5% 0.182 285.1);
Tailwind
colors: {
  custom: {
    50: '#876cc5',
    500: '#4b32ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b32ab;
$custom-light: #876cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b32ab",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 252.397,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.1818,
    "h": 285.1
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B32AB

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

Preview Lab → · Contrast checker → · Palette generator →

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