#4C32C7#4C32C7

#4C32C7 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.3% C 0.215 H 281.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4C32C7
RGBrgb(76, 50, 199)
HSLhsl(250, 60%, 49%)
HSVhsv(250, 75%, 78%)
CMYKcmyk(61.8%, 74.9%, 0%, 22%)
CIE-LABlab(33.86, 51.81, -73.12)
CIE-LCHlch(33.86, 89.61, 305.32°)
OKLaboklab(45.27% 0.0428 -0.2109)
OKLCHoklch(45.27% 0.215 281.5)
XYZxyz(14.4267, 7.9402, 54.7941)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C7 #ADC732
analogous
#3263C7 #4C32C7 #9732C7
triadic
#4C32C7 #C74C32 #32C74C
tetradic
#4C32C7 #C73263 #ADC732 #32C797
square
#4C32C7 #C73263 #ADC732 #32C797
split-complementary
#4C32C7 #C79732 #63C732
monochromatic
#271965 #392696 #4C32C7 #745FD7 #9F90E3

Accessibility & contrast

On white

8.11
#4C32C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4C32C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C7#FFFFFF#000000##FFFFFF
##4C32C71.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c32c7;
/* rgb */ color: rgb(76, 50, 199);
/* oklch */ color: oklch(45.3% 0.215 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d6dd9',
    500: '#4c32c7',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c7;
$custom-light: #8d6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c7",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 250.47,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45266,
    "c": 0.21522,
    "h": 281.5
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#4C32C7
secondary
#C1CE87
accent
#E345C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C32C7

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

Preview Lab → · Contrast checker → · Palette generator →

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