#4A20AE#4A20AE

#4A20AE is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.5% C 0.203 H 286.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#4A20AE
RGBrgb(74, 32, 174)
HSLhsl(258, 69%, 40%)
HSVhsv(258, 82%, 68%)
CMYKcmyk(57.5%, 81.6%, 0%, 31.8%)
CIE-LABlab(28.23, 52.85, -67.60)
CIE-LCHlch(28.23, 85.81, 308.01°)
OKLaboklab(40.54% 0.0583 -0.1947)
OKLCHoklch(40.54% 0.203 286.7)
XYZxyz(10.9782, 5.5442, 40.5279)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A20AE #84AE20
analogous
#203DAE #4A20AE #9120AE
triadic
#4A20AE #AE4A20 #20AE4A
tetradic
#4A20AE #AE203D #84AE20 #20AE91
square
#4A20AE #AE203D #84AE20 #20AE91
split-complementary
#4A20AE #AE9120 #3DAE20
monochromatic
#1E0D47 #34167A #4A20AE #6332D9 #8B66E3

Accessibility & contrast

On white

9.96
#4A20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4A20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A20AE
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A20AE#FFFFFF#000000##FFFFFF
##4A20AE1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003FAC
Tritanopia (blue-blind)
#184B68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4a20ae;
/* rgb */ color: rgb(74, 32, 174);
/* oklch */ color: oklch(40.5% 0.203 286.7);
Tailwind
colors: {
  custom: {
    50: '#8962c7',
    500: '#4a20ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a20ae;
$custom-light: #8962c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a20ae",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 257.746,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.20322,
    "h": 286.7
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#4A20AE
secondary
#AAC862
accent
#EC3CB8
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4A20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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