#4C32BA#4C32BA

#4C32BA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.200 H 283.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4C32BA
RGBrgb(76, 50, 186)
HSLhsl(251, 58%, 46%)
HSVhsv(251, 73%, 73%)
CMYKcmyk(59.1%, 73.1%, 0%, 27.1%)
CIE-LABlab(32.62, 47.93, -67.52)
CIE-LCHlch(32.62, 82.81, 305.37°)
OKLaboklab(44.02% 0.0458 -0.1946)
OKLCHoklch(44.02% 0.2 283.2)
XYZxyz(12.9813, 7.3620, 47.1818)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32BA #A0BA32
analogous
#325CBA #4C32BA #9032BA
triadic
#4C32BA #BA4C32 #32BA4C
tetradic
#4C32BA #BA325C #A0BA32 #32BA90
square
#4C32BA #BA325C #A0BA32 #32BA90
split-complementary
#4C32BA #BA9032 #5CBA32
monochromatic
#25185A #38258A #4C32BA #6F57D2 #9888DF

Accessibility & contrast

On white

8.49
#4C32BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C32BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32BA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32BA#FFFFFF#000000##FFFFFF
##4C32BA1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#025873
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c32ba;
/* rgb */ color: rgb(76, 50, 186);
/* oklch */ color: oklch(44.0% 0.200 283.2);
Tailwind
colors: {
  custom: {
    50: '#8b6dd0',
    500: '#4c32ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c32ba;
$custom-light: #8b6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32ba",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 186
  },
  "hsl": {
    "h": 251.471,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44015,
    "c": 0.19988,
    "h": 283.2
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#4C32BA
secondary
#BBC97F
accent
#E147C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4C32BA

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

Preview Lab → · Contrast checker → · Palette generator →

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