#4C32CC#4C32CC

#4C32CC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.221 H 280.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4C32CC
RGBrgb(76, 50, 204)
HSLhsl(250, 61%, 50%)
HSVhsv(250, 75%, 80%)
CMYKcmyk(62.7%, 75.5%, 0%, 20%)
CIE-LABlab(34.35, 53.29, -75.23)
CIE-LCHlch(34.35, 92.19, 305.31°)
OKLaboklab(45.76% 0.0416 -0.2171)
OKLCHoklch(45.76% 0.221 280.8)
XYZxyz(15.0167, 8.1762, 57.9019)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32CC #B2CC32
analogous
#3265CC #4C32CC #9932CC
triadic
#4C32CC #CC4C32 #32CC4C
tetradic
#4C32CC #CC3265 #B2CC32 #32CC99
square
#4C32CC #CC3265 #B2CC32 #32CC99
split-complementary
#4C32CC #CC9932 #65CC32
monochromatic
#271A6A #3A269B #4C32CC #7663D9 #A194E5

Accessibility & contrast

On white

7.97
#4C32CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4C32CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32CC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32CC#FFFFFF#000000##FFFFFF
##4C32CC1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#005E7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4c32cc;
/* rgb */ color: rgb(76, 50, 204);
/* oklch */ color: oklch(45.8% 0.221 280.8);
Tailwind
colors: {
  custom: {
    50: '#8e6edd',
    500: '#4c32cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c32cc;
$custom-light: #8e6edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32cc",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 204
  },
  "hsl": {
    "h": 250.13,
    "s": 60.63,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45757,
    "c": 0.22101,
    "h": 280.8
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#4C32CC
secondary
#C4D08A
accent
#E444C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C32CC

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

Preview Lab → · Contrast checker → · Palette generator →

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