#4C32C6#4C32C6

#4C32C6 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.214 H 281.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4C32C6
RGBrgb(76, 50, 198)
HSLhsl(251, 60%, 49%)
HSVhsv(251, 75%, 78%)
CMYKcmyk(61.6%, 74.7%, 0%, 22.4%)
CIE-LABlab(33.76, 51.51, -72.70)
CIE-LCHlch(33.76, 89.10, 305.32°)
OKLaboklab(45.17% 0.043 -0.2097)
OKLCHoklch(45.17% 0.214 281.6)
XYZxyz(14.3109, 7.8939, 54.1847)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C6 #ACC632
analogous
#3262C6 #4C32C6 #9632C6
triadic
#4C32C6 #C64C32 #32C64C
tetradic
#4C32C6 #C63262 #ACC632 #32C696
square
#4C32C6 #C63262 #ACC632 #32C696
split-complementary
#4C32C6 #C69632 #62C632
monochromatic
#261964 #392695 #4C32C6 #745FD7 #9E90E3

Accessibility & contrast

On white

8.14
#4C32C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4C32C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C6
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C6#FFFFFF#000000##FFFFFF
##4C32C61.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CA
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c32c6;
/* rgb */ color: rgb(76, 50, 198);
/* oklch */ color: oklch(45.2% 0.214 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d6dd9',
    500: '#4c32c6',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c6;
$custom-light: #8d6dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c6",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 198
  },
  "hsl": {
    "h": 250.541,
    "s": 59.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.21405,
    "h": 281.6
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C32C6

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

Preview Lab → · Contrast checker → · Palette generator →

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