#4220C3#4220C3

#4220C3 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.1% C 0.227 H 279.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4220C3
RGBrgb(66, 32, 195)
HSLhsl(253, 72%, 45%)
HSVhsv(253, 84%, 76%)
CMYKcmyk(66.2%, 83.6%, 0%, 23.5%)
CIE-LABlab(29.74, 57.87, -77.61)
CIE-LCHlch(29.74, 96.81, 306.71°)
OKLaboklab(42.07% 0.0389 -0.224)
OKLCHoklch(42.07% 0.227 279.8)
XYZxyz(12.6105, 6.1304, 52.1379)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220C3 #A1C320
analogous
#2050C3 #4220C3 #9320C3
triadic
#4220C3 #C34220 #20C342
tetradic
#4220C3 #C32050 #A1C320 #20C393
square
#4220C3 #C32050 #A1C320 #20C393
split-complementary
#4220C3 #C39320 #50C320
monochromatic
#1E0F5A #30178E #4220C3 #6240E0 #8D75E8

Accessibility & contrast

On white

9.43
#4220C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4220C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220C3
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220C3#FFFFFF#000000##FFFFFF
##4220C31.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC7
Deuteranopia (green-blind)
#0040C0
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4220c3;
/* rgb */ color: rgb(66, 32, 195);
/* oklch */ color: oklch(42.1% 0.227 279.8);
Tailwind
colors: {
  custom: {
    50: '#8963d7',
    500: '#4220c3',
    950: '#000000',
  },
}
SCSS
$custom: #4220c3;
$custom-light: #8963d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4220c3",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 252.515,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42066,
    "c": 0.22739,
    "h": 279.8
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#4220C3
secondary
#BBCF6F
accent
#EF39C9
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4220C3

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

Preview Lab → · Contrast checker → · Palette generator →

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