#4C32B3#4C32B3

#4C32B3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.191 H 284.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4C32B3
RGBrgb(76, 50, 179)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 70%)
CMYKcmyk(57.5%, 72.1%, 0%, 29.8%)
CIE-LABlab(31.97, 45.83, -64.44)
CIE-LCHlch(31.97, 79.07, 305.43°)
OKLaboklab(43.36% 0.0473 -0.1855)
OKLCHoklch(43.36% 0.191 284.3)
XYZxyz(12.2553, 7.0716, 43.3583)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32B3 #99B332
analogous
#3259B3 #4C32B3 #8D32B3
triadic
#4C32B3 #B34C32 #32B34C
tetradic
#4C32B3 #B33259 #99B332 #32B38D
square
#4C32B3 #B33259 #99B332 #32B38D
split-complementary
#4C32B3 #B38D32 #59B332
monochromatic
#231753 #382583 #4C32B3 #6C53CF #9583DC

Accessibility & contrast

On white

8.70
#4C32B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4C32B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32B3
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32B3#FFFFFF#000000##FFFFFF
##4C32B31.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#15556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c32b3;
/* rgb */ color: rgb(76, 50, 179);
/* oklch */ color: oklch(43.4% 0.191 284.3);
Tailwind
colors: {
  custom: {
    50: '#896dcb',
    500: '#4c32b3',
    950: '#000000',
  },
}
SCSS
$custom: #4c32b3;
$custom-light: #896dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32b3",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 179
  },
  "hsl": {
    "h": 252.093,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43359,
    "c": 0.19146,
    "h": 284.3
  },
  "luminance": 0.07072
}

Semantic roles & 50–950 ramp

primary
#4C32B3
secondary
#B7C67B
accent
#E048C1
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4C32B3

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

Preview Lab → · Contrast checker → · Palette generator →

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