#4C32BF#4C32BF

#4C32BF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.5% C 0.206 H 282.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4C32BF
RGBrgb(76, 50, 191)
HSLhsl(251, 59%, 47%)
HSVhsv(251, 74%, 75%)
CMYKcmyk(60.2%, 73.8%, 0%, 25.1%)
CIE-LABlab(33.09, 49.43, -69.70)
CIE-LCHlch(33.09, 85.44, 305.34°)
OKLaboklab(44.49% 0.0447 -0.2009)
OKLCHoklch(44.49% 0.206 282.5)
XYZxyz(13.5221, 7.5784, 50.0303)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32BF #A5BF32
analogous
#325EBF #4C32BF #9332BF
triadic
#4C32BF #BF4C32 #32BF4C
tetradic
#4C32BF #BF325E #A5BF32 #32BF93
square
#4C32BF #BF325E #A5BF32 #32BF93
split-complementary
#4C32BF #BF9332 #5EBF32
monochromatic
#25195E #39258E #4C32BF #715AD4 #9B8BE1

Accessibility & contrast

On white

8.35
#4C32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C32BF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32BF#FFFFFF#000000##FFFFFF
##4C32BF1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C3
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c32bf;
/* rgb */ color: rgb(76, 50, 191);
/* oklch */ color: oklch(44.5% 0.206 282.5);
Tailwind
colors: {
  custom: {
    50: '#8b6dd4',
    500: '#4c32bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c32bf;
$custom-light: #8b6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32bf",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 251.064,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.20582,
    "h": 282.5
  },
  "luminance": 0.07579
}

Semantic roles & 50–950 ramp

primary
#4C32BF
secondary
#BDCB82
accent
#E246C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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