#4C32BB#4C32BB

#4C32BB is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.1% C 0.201 H 283.1°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4C32BB
RGBrgb(76, 50, 187)
HSLhsl(251, 58%, 46%)
HSVhsv(251, 73%, 73%)
CMYKcmyk(59.4%, 73.3%, 0%, 26.7%)
CIE-LABlab(32.71, 48.23, -67.96)
CIE-LCHlch(32.71, 83.34, 305.37°)
OKLaboklab(44.11% 0.0456 -0.1958)
OKLCHoklch(44.11% 0.201 283.1)
XYZxyz(13.0880, 7.4047, 47.7437)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32BB #A1BB32
analogous
#325DBB #4C32BB #9132BB
triadic
#4C32BB #BB4C32 #32BB4C
tetradic
#4C32BB #BB325D #A1BB32 #32BB91
square
#4C32BB #BB325D #A1BB32 #32BB91
split-complementary
#4C32BB #BB9132 #5DBB32
monochromatic
#25185A #38258B #4C32BB #6F58D2 #9988DF

Accessibility & contrast

On white

8.46
#4C32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4C32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32BB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32BB#FFFFFF#000000##FFFFFF
##4C32BB1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005874
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c32bb;
/* rgb */ color: rgb(76, 50, 187);
/* oklch */ color: oklch(44.1% 0.201 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b6dd1',
    500: '#4c32bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c32bb;
$custom-light: #8b6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32bb",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 251.387,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4411,
    "c": 0.20107,
    "h": 283.1
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#4C32BB
secondary
#BBC980
accent
#E147C4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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