#4C32C9#4C32C9

#4C32C9 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.218 H 281.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4C32C9
RGBrgb(76, 50, 201)
HSLhsl(250, 60%, 49%)
HSVhsv(250, 75%, 79%)
CMYKcmyk(62.2%, 75.1%, 0%, 21.2%)
CIE-LABlab(34.05, 52.40, -73.97)
CIE-LCHlch(34.05, 90.65, 305.32°)
OKLaboklab(45.46% 0.0423 -0.2134)
OKLCHoklch(45.46% 0.218 281.2)
XYZxyz(14.6604, 8.0337, 56.0251)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C9 #AFC932
analogous
#3264C9 #4C32C9 #9832C9
triadic
#4C32C9 #C94C32 #32C94C
tetradic
#4C32C9 #C93264 #AFC932 #32C998
square
#4C32C9 #C93264 #AFC932 #32C998
split-complementary
#4C32C9 #C99832 #64C932
monochromatic
#271A67 #392698 #4C32C9 #7561D8 #A092E4

Accessibility & contrast

On white

8.06
#4C32C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4C32C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C9
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C9#FFFFFF#000000##FFFFFF
##4C32C91.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#004AC6
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c32c9;
/* rgb */ color: rgb(76, 50, 201);
/* oklch */ color: oklch(45.5% 0.218 281.2);
Tailwind
colors: {
  custom: {
    50: '#8d6ddb',
    500: '#4c32c9',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c9;
$custom-light: #8d6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c9",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 201
  },
  "hsl": {
    "h": 250.331,
    "s": 60.159,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.21754,
    "h": 281.2
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#4C32C9
secondary
#C2CF88
accent
#E344C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C32C9

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

Preview Lab → · Contrast checker → · Palette generator →

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