#4220AD#4220AD

#4220AD is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.203 H 283.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#4220AD
RGBrgb(66, 32, 173)
HSLhsl(254, 69%, 40%)
HSVhsv(254, 82%, 68%)
CMYKcmyk(61.8%, 81.5%, 0%, 32.2%)
CIE-LABlab(27.32, 51.69, -68.54)
CIE-LCHlch(27.32, 85.85, 307.02°)
OKLaboklab(39.69% 0.0462 -0.1976)
OKLCHoklch(39.69% 0.203 283.1)
XYZxyz(10.3038, 5.2077, 39.9893)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220AD #8BAD20
analogous
#2045AD #4220AD #8820AD
triadic
#4220AD #AD4220 #20AD42
tetradic
#4220AD #AD2045 #8BAD20 #20AD88
square
#4220AD #AD2045 #8BAD20 #20AD88
split-complementary
#4220AD #AD8820 #45AD20
monochromatic
#1B0D46 #2E1679 #4220AD #5A31D9 #8365E2

Accessibility & contrast

On white

10.29
#4220AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4220AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220AD
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220AD#FFFFFF#000000##FFFFFF
##4220AD1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#004B68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4220ad;
/* rgb */ color: rgb(66, 32, 173);
/* oklch */ color: oklch(39.7% 0.203 283.1);
Tailwind
colors: {
  custom: {
    50: '#8561c7',
    500: '#4220ad',
    950: '#000000',
  },
}
SCSS
$custom: #4220ad;
$custom-light: #8561c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4220ad",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 254.468,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3969,
    "c": 0.20297,
    "h": 283.1
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#4220AD
secondary
#AFC861
accent
#EC3CC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4220AD

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

Preview Lab → · Contrast checker → · Palette generator →

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