#4220BB#4220BB

#4220BB is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.2% C 0.219 H 280.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#4220BB
RGBrgb(66, 32, 187)
HSLhsl(253, 71%, 43%)
HSVhsv(253, 83%, 73%)
CMYKcmyk(64.7%, 82.9%, 0%, 26.7%)
CIE-LABlab(28.85, 55.64, -74.37)
CIE-LCHlch(28.85, 92.87, 306.80°)
OKLaboklab(41.19% 0.0415 -0.2146)
OKLCHoklch(41.19% 0.219 280.9)
XYZxyz(11.7301, 5.7782, 47.5012)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220BB #99BB20
analogous
#204CBB #4220BB #8F20BB
triadic
#4220BB #BB4220 #20BB42
tetradic
#4220BB #BB204C #99BB20 #20BB8F
square
#4220BB #BB204C #99BB20 #20BB8F
split-complementary
#4220BB #BB8F20 #4CBB20
monochromatic
#1D0E52 #301787 #4220BB #5E3BDD #896FE6

Accessibility & contrast

On white

9.74
#4220BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4220BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220BB
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220BB#FFFFFF#000000##FFFFFF
##4220BB1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003EB8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4220bb;
/* rgb */ color: rgb(66, 32, 187);
/* oklch */ color: oklch(41.2% 0.219 280.9);
Tailwind
colors: {
  custom: {
    50: '#8762d1',
    500: '#4220bb',
    950: '#000000',
  },
}
SCSS
$custom: #4220bb;
$custom-light: #8762d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4220bb",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 253.161,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41192,
    "c": 0.21859,
    "h": 280.9
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#4220BB
secondary
#B7CD6A
accent
#EE3AC6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4220BB

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

Preview Lab → · Contrast checker → · Palette generator →

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