#4220AF#4220AF

#4220AF is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.205 H 282.8°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4220AF
RGBrgb(66, 32, 175)
HSLhsl(254, 69%, 41%)
HSVhsv(254, 82%, 69%)
CMYKcmyk(62.3%, 81.7%, 0%, 31.4%)
CIE-LABlab(27.53, 52.26, -69.38)
CIE-LCHlch(27.53, 86.86, 306.99°)
OKLaboklab(39.9% 0.0455 -0.2001)
OKLCHoklch(39.9% 0.205 282.8)
XYZxyz(10.4987, 5.2857, 41.0161)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220AF #8DAF20
analogous
#2045AF #4220AF #8920AF
triadic
#4220AF #AF4220 #20AF42
tetradic
#4220AF #AF2045 #8DAF20 #20AF89
square
#4220AF #AF2045 #8DAF20 #20AF89
split-complementary
#4220AF #AF8920 #45AF20
monochromatic
#1B0D48 #2E177B #4220AF #5A33DA #8466E3

Accessibility & contrast

On white

10.21
#4220AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4220AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220AF
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220AF#FFFFFF#000000##FFFFFF
##4220AF1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4220af;
/* rgb */ color: rgb(66, 32, 175);
/* oklch */ color: oklch(39.9% 0.205 282.8);
Tailwind
colors: {
  custom: {
    50: '#8562c8',
    500: '#4220af',
    950: '#000000',
  },
}
SCSS
$custom: #4220af;
$custom-light: #8562c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4220af",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 254.266,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.20522,
    "h": 282.8
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4220AF

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

Preview Lab → · Contrast checker → · Palette generator →

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