#4220B3#4220B3

#4220B3 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.210 H 282.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4220B3
RGBrgb(66, 32, 179)
HSLhsl(254, 70%, 41%)
HSVhsv(254, 82%, 70%)
CMYKcmyk(63.1%, 82.1%, 0%, 29.8%)
CIE-LABlab(27.97, 53.39, -71.06)
CIE-LCHlch(27.97, 88.88, 306.92°)
OKLaboklab(40.33% 0.0442 -0.205)
OKLCHoklch(40.33% 0.21 282.2)
XYZxyz(10.8974, 5.4451, 43.1158)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4220B3 #91B320
analogous
#2047B3 #4220B3 #8C20B3
triadic
#4220B3 #B34220 #20B342
tetradic
#4220B3 #B32047 #91B320 #20B38C
square
#4220B3 #B32047 #91B320 #20B38C
split-complementary
#4220B3 #B38C20 #47B320
monochromatic
#1C0D4B #2F177F #4220B3 #5C35DB #8669E4

Accessibility & contrast

On white

10.05
#4220B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4220B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4220B3
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4220B3#FFFFFF#000000##FFFFFF
##4220B31.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4220b3;
/* rgb */ color: rgb(66, 32, 179);
/* oklch */ color: oklch(40.3% 0.210 282.2);
Tailwind
colors: {
  custom: {
    50: '#8662cb',
    500: '#4220b3',
    950: '#000000',
  },
}
SCSS
$custom: #4220b3;
$custom-light: #8662cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4220b3",
  "rgb": {
    "r": 66,
    "g": 32,
    "b": 179
  },
  "hsl": {
    "h": 253.878,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.2097,
    "h": 282.2
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#4220B3
secondary
#B3CA65
accent
#EC3BC3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4220B3

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

Preview Lab → · Contrast checker → · Palette generator →

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