#4C32C8#4C32C8

#4C32C8 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.216 H 281.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#4C32C8
RGBrgb(76, 50, 200)
HSLhsl(250, 60%, 49%)
HSVhsv(250, 75%, 78%)
CMYKcmyk(62%, 75%, 0%, 21.6%)
CIE-LABlab(33.96, 52.10, -73.54)
CIE-LCHlch(33.96, 90.13, 305.32°)
OKLaboklab(45.36% 0.0426 -0.2121)
OKLCHoklch(45.36% 0.216 281.3)
XYZxyz(14.5431, 7.9868, 55.4076)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C8 #AEC832
analogous
#3263C8 #4C32C8 #9732C8
triadic
#4C32C8 #C84C32 #32C84C
tetradic
#4C32C8 #C83263 #AEC832 #32C897
square
#4C32C8 #C83263 #AEC832 #32C897
split-complementary
#4C32C8 #C89732 #63C832
monochromatic
#271A66 #392697 #4C32C8 #7560D7 #9F91E3

Accessibility & contrast

On white

8.08
#4C32C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4C32C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C8#FFFFFF#000000##FFFFFF
##4C32C81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4c32c8;
/* rgb */ color: rgb(76, 50, 200);
/* oklch */ color: oklch(45.4% 0.216 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d6dda',
    500: '#4c32c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c8;
$custom-light: #8d6dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c8",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 200
  },
  "hsl": {
    "h": 250.4,
    "s": 60,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.21637,
    "h": 281.3
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#4C32C8
secondary
#C2CE88
accent
#E345C8
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C32C8

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

Preview Lab → · Contrast checker → · Palette generator →

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