#4C20AF#4C20AF

#4C20AF is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.8% C 0.204 H 287.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#4C20AF
RGBrgb(76, 32, 175)
HSLhsl(258, 69%, 41%)
HSVhsv(258, 82%, 69%)
CMYKcmyk(56.6%, 81.7%, 0%, 31.4%)
CIE-LABlab(28.55, 53.35, -67.67)
CIE-LCHlch(28.55, 86.17, 308.25°)
OKLaboklab(40.85% 0.0611 -0.1948)
OKLCHoklch(40.85% 0.204 287.4)
XYZxyz(11.2326, 5.6641, 41.0505)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C20AF #83AF20
analogous
#203BAF #4C20AF #9420AF
triadic
#4C20AF #AF4C20 #20AF4C
tetradic
#4C20AF #AF203B #83AF20 #20AF94
square
#4C20AF #AF203B #83AF20 #20AF94
split-complementary
#4C20AF #AF9420 #3BAF20
monochromatic
#1F0D48 #36177B #4C20AF #6633DA #8D66E3

Accessibility & contrast

On white

9.85
#4C20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C20AF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C20AF#FFFFFF#000000##FFFFFF
##4C20AF1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#1E4B69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4c20af;
/* rgb */ color: rgb(76, 32, 175);
/* oklch */ color: oklch(40.8% 0.204 287.4);
Tailwind
colors: {
  custom: {
    50: '#8a62c8',
    500: '#4c20af',
    950: '#000000',
  },
}
SCSS
$custom: #4c20af;
$custom-light: #8a62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c20af",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 258.462,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.20418,
    "h": 287.4
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#4C20AF
secondary
#A9C862
accent
#EC3CB6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4C20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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