#4C32C5#4C32C5

#4C32C5 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.213 H 281.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4C32C5
RGBrgb(76, 50, 197)
HSLhsl(251, 60%, 48%)
HSVhsv(251, 75%, 77%)
CMYKcmyk(61.4%, 74.6%, 0%, 22.7%)
CIE-LABlab(33.66, 51.22, -72.27)
CIE-LCHlch(33.66, 88.58, 305.32°)
OKLaboklab(45.07% 0.0433 -0.2084)
OKLCHoklch(45.07% 0.213 281.7)
XYZxyz(14.1960, 7.8479, 53.5792)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C5 #ABC532
analogous
#3261C5 #4C32C5 #9532C5
triadic
#4C32C5 #C54C32 #32C54C
tetradic
#4C32C5 #C53261 #ABC532 #32C595
square
#4C32C5 #C53261 #ABC532 #32C595
split-complementary
#4C32C5 #C59532 #61C532
monochromatic
#261963 #392694 #4C32C5 #735ED6 #9E8FE3

Accessibility & contrast

On white

8.17
#4C32C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4C32C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C5
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C5#FFFFFF#000000##FFFFFF
##4C32C51.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c32c5;
/* rgb */ color: rgb(76, 50, 197);
/* oklch */ color: oklch(45.1% 0.213 281.7);
Tailwind
colors: {
  custom: {
    50: '#8c6dd8',
    500: '#4c32c5',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c5;
$custom-light: #8c6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c5",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 197
  },
  "hsl": {
    "h": 250.612,
    "s": 59.514,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45071,
    "c": 0.21287,
    "h": 281.7
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C32C5

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

Preview Lab → · Contrast checker → · Palette generator →

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