#4220AE#4220AE

#4220AE is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.8% C 0.204 H 283.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4220AE
RGBrgb(66, 32, 174)
HSLhsl(254, 69%, 40%)
HSVhsv(254, 82%, 68%)
CMYKcmyk(62.1%, 81.6%, 0%, 31.8%)
CIE-LABlab(27.43, 51.98, -68.96)
CIE-LCHlch(27.43, 86.36, 307.00°)
OKLaboklab(39.8% 0.0458 -0.1989)
OKLCHoklch(39.8% 0.204 283)
XYZxyz(10.4009, 5.2465, 40.5008)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220AE #8CAE20
analogous
#2045AE #4220AE #8920AE
triadic
#4220AE #AE4220 #20AE42
tetradic
#4220AE #AE2045 #8CAE20 #20AE89
square
#4220AE #AE2045 #8CAE20 #20AE89
split-complementary
#4220AE #AE8920 #45AE20
monochromatic
#1B0D47 #2E167A #4220AE #5A32D9 #8466E3

Accessibility & contrast

On white

10.25
#4220AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4220AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220AE
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220AE#FFFFFF#000000##FFFFFF
##4220AE1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4220ae;
/* rgb */ color: rgb(66, 32, 174);
/* oklch */ color: oklch(39.8% 0.204 283.0);
Tailwind
colors: {
  custom: {
    50: '#8562c7',
    500: '#4220ae',
    950: '#000000',
  },
}
SCSS
$custom: #4220ae;
$custom-light: #8562c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4220ae",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 254.366,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39796,
    "c": 0.20409,
    "h": 283
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#4220AE
secondary
#B0C862
accent
#EC3CC2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4220AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4220AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva