#4C32C0#4C32C0

#4C32C0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.207 H 282.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4C32C0
RGBrgb(76, 50, 192)
HSLhsl(251, 59%, 47%)
HSVhsv(251, 74%, 75%)
CMYKcmyk(60.4%, 74%, 0%, 24.7%)
CIE-LABlab(33.18, 49.73, -70.13)
CIE-LCHlch(33.18, 85.97, 305.34°)
OKLaboklab(44.59% 0.0445 -0.2022)
OKLCHoklch(44.59% 0.207 282.4)
XYZxyz(13.6326, 7.6225, 50.6119)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C0 #A6C032
analogous
#325FC0 #4C32C0 #9332C0
triadic
#4C32C0 #C04C32 #32C04C
tetradic
#4C32C0 #C0325F #A6C032 #32C093
square
#4C32C0 #C0325F #A6C032 #32C093
split-complementary
#4C32C0 #C09332 #5FC032
monochromatic
#26195F #39258F #4C32C0 #715BD4 #9B8BE1

Accessibility & contrast

On white

8.32
#4C32C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4C32C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C0
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C0#FFFFFF#000000##FFFFFF
##4C32C01.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c32c0;
/* rgb */ color: rgb(76, 50, 192);
/* oklch */ color: oklch(44.6% 0.207 282.4);
Tailwind
colors: {
  custom: {
    50: '#8c6dd4',
    500: '#4c32c0',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c0;
$custom-light: #8c6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c0",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 250.986,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.207,
    "h": 282.4
  },
  "luminance": 0.07623
}

Semantic roles & 50–950 ramp

primary
#4C32C0
secondary
#BECB83
accent
#E246C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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