#4C32AF#4C32AF

#4C32AF is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.187 H 284.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4C32AF
RGBrgb(76, 50, 175)
HSLhsl(252, 56%, 44%)
HSVhsv(252, 71%, 69%)
CMYKcmyk(56.6%, 71.4%, 0%, 31.4%)
CIE-LABlab(31.61, 44.63, -62.65)
CIE-LCHlch(31.61, 76.92, 305.47°)
OKLaboklab(42.99% 0.0481 -0.1803)
OKLCHoklch(42.99% 0.187 284.9)
XYZxyz(11.8566, 6.9122, 41.2585)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C32AF #95AF32
analogous
#3257AF #4C32AF #8B32AF
triadic
#4C32AF #AF4C32 #32AF4C
tetradic
#4C32AF #AF3257 #95AF32 #32AF8B
square
#4C32AF #AF3257 #95AF32 #32AF8B
split-complementary
#4C32AF #AF8B32 #57AF32
monochromatic
#231750 #37247F #4C32AF #6B51CD #9381DB

Accessibility & contrast

On white

8.81
#4C32AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4C32AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C32AF
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C32AF#FFFFFF#000000##FFFFFF
##4C32AF1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#1C536D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4c32af;
/* rgb */ color: rgb(76, 50, 175);
/* oklch */ color: oklch(43.0% 0.187 284.9);
Tailwind
colors: {
  custom: {
    50: '#896cc8',
    500: '#4c32af',
    950: '#000000',
  },
}
SCSS
$custom: #4c32af;
$custom-light: #896cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c32af",
  "rgb": {
    "r": 76,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 252.48,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42989,
    "c": 0.18659,
    "h": 284.9
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#4C32AF
secondary
#B4C479
accent
#DF49C0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0713
muted
#7D7A82

Preview Lab

Preview with #4C32AF

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

Preview Lab → · Contrast checker → · Palette generator →

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