#4220A5#4220A5

#4220A5 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.194 H 284.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#4220A5
RGBrgb(66, 32, 165)
HSLhsl(255, 68%, 39%)
HSVhsv(255, 81%, 65%)
CMYKcmyk(60%, 80.6%, 0%, 35.3%)
CIE-LABlab(26.47, 49.41, -65.12)
CIE-LCHlch(26.47, 81.74, 307.19°)
OKLaboklab(38.85% 0.0488 -0.1877)
OKLCHoklch(38.85% 0.194 284.6)
XYZxyz(9.5527, 4.9073, 36.0338)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220A5 #83A520
analogous
#2040A5 #4220A5 #8420A5
triadic
#4220A5 #A54220 #20A542
tetradic
#4220A5 #A52040 #83A520 #20A584
square
#4220A5 #A52040 #83A520 #20A584
split-complementary
#4220A5 #A58420 #40A520
monochromatic
#190C3E #2D1672 #4220A5 #582CD6 #805FE0

Accessibility & contrast

On white

10.60
#4220A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4220A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220A5
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220A5#FFFFFF#000000##FFFFFF
##4220A51.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4220a5;
/* rgb */ color: rgb(66, 32, 165);
/* oklch */ color: oklch(38.9% 0.194 284.6);
Tailwind
colors: {
  custom: {
    50: '#8361c1',
    500: '#4220a5',
    950: '#000000',
  },
}
SCSS
$custom: #4220a5;
$custom-light: #8361c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4220a5",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 255.338,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.1939,
    "h": 284.6
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#4220A5
secondary
#AAC55C
accent
#EA3DBE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4220A5

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

Preview Lab → · Contrast checker → · Palette generator →

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