#4C32C1#4C32C1

#4C32C1 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.208 H 282.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4C32C1
RGBrgb(76, 50, 193)
HSLhsl(251, 59%, 48%)
HSVhsv(251, 74%, 76%)
CMYKcmyk(60.6%, 74.1%, 0%, 24.3%)
CIE-LABlab(33.28, 50.03, -70.56)
CIE-LCHlch(33.28, 86.49, 305.34°)
OKLaboklab(44.68% 0.0442 -0.2034)
OKLCHoklch(44.68% 0.208 282.3)
XYZxyz(13.7437, 7.6670, 51.1974)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32C1 #A7C132
analogous
#325FC1 #4C32C1 #9332C1
triadic
#4C32C1 #C14C32 #32C14C
tetradic
#4C32C1 #C1325F #A7C132 #32C193
square
#4C32C1 #C1325F #A7C132 #32C193
split-complementary
#4C32C1 #C19332 #5FC132
monochromatic
#261960 #392590 #4C32C1 #725CD5 #9C8CE1

Accessibility & contrast

On white

8.29
#4C32C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4C32C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32C1
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32C1#FFFFFF#000000##FFFFFF
##4C32C11.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C5
Deuteranopia (green-blind)
#0049BE
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c32c1;
/* rgb */ color: rgb(76, 50, 193);
/* oklch */ color: oklch(44.7% 0.208 282.3);
Tailwind
colors: {
  custom: {
    50: '#8c6dd5',
    500: '#4c32c1',
    950: '#000000',
  },
}
SCSS
$custom: #4c32c1;
$custom-light: #8c6dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32c1",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 250.909,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44684,
    "c": 0.20818,
    "h": 282.3
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C32C1

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

Preview Lab → · Contrast checker → · Palette generator →

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