#4C20AE#4C20AE

#4C20AE is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.203 H 287.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4C20AE
RGBrgb(76, 32, 174)
HSLhsl(259, 69%, 40%)
HSVhsv(259, 82%, 68%)
CMYKcmyk(56.3%, 81.6%, 0%, 31.8%)
CIE-LABlab(28.45, 53.08, -67.25)
CIE-LCHlch(28.45, 85.67, 308.28°)
OKLaboklab(40.74% 0.0614 -0.1936)
OKLCHoklch(40.74% 0.203 287.6)
XYZxyz(11.1347, 5.6249, 40.5352)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C20AE #82AE20
analogous
#203BAE #4C20AE #9320AE
triadic
#4C20AE #AE4C20 #20AE4C
tetradic
#4C20AE #AE203B #82AE20 #20AE93
square
#4C20AE #AE203B #82AE20 #20AE93
split-complementary
#4C20AE #AE9320 #3BAE20
monochromatic
#1F0D47 #35167A #4C20AE #6632D9 #8C66E3

Accessibility & contrast

On white

9.88
#4C20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4C20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C20AE
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C20AE#FFFFFF#000000##FFFFFF
##4C20AE1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#1F4B68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c20ae;
/* rgb */ color: rgb(76, 32, 174);
/* oklch */ color: oklch(40.7% 0.203 287.6);
Tailwind
colors: {
  custom: {
    50: '#8a62c7',
    500: '#4c20ae',
    950: '#000000',
  },
}
SCSS
$custom: #4c20ae;
$custom-light: #8a62c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c20ae",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 258.592,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.20308,
    "h": 287.6
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#4C20AE
secondary
#A8C862
accent
#EC3CB5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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