#4221AD#4221AD

#4221AD is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.202 H 283.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#4221AD
RGBrgb(66, 33, 173)
HSLhsl(254, 68%, 40%)
HSVhsv(254, 81%, 68%)
CMYKcmyk(61.8%, 80.9%, 0%, 32.2%)
CIE-LABlab(27.47, 51.25, -68.29)
CIE-LCHlch(27.47, 85.38, 306.89°)
OKLaboklab(39.79% 0.0456 -0.1969)
OKLCHoklch(39.79% 0.202 283)
XYZxyz(10.3311, 5.2624, 39.9984)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4221AD #8CAD21
analogous
#2146AD #4221AD #8821AD
triadic
#4221AD #AD4221 #21AD42
tetradic
#4221AD #AD2146 #8CAD21 #21AD88
square
#4221AD #AD2146 #8CAD21 #21AD88
split-complementary
#4221AD #AD8821 #46AD21
monochromatic
#1B0D46 #2E177A #4221AD #5A33D8 #8466E2

Accessibility & contrast

On white

10.23
#4221AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4221AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4221AD
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4221AD#FFFFFF#000000##FFFFFF
##4221AD1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4221ad;
/* rgb */ color: rgb(66, 33, 173);
/* oklch */ color: oklch(39.8% 0.202 283.0);
Tailwind
colors: {
  custom: {
    50: '#8462c7',
    500: '#4221ad',
    950: '#000000',
  },
}
SCSS
$custom: #4221ad;
$custom-light: #8462c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4221ad",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 173
  },
  "hsl": {
    "h": 254.143,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.20215,
    "h": 283
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#4221AD
secondary
#B0C762
accent
#EB3DC2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4221AD

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

Preview Lab → · Contrast checker → · Palette generator →

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