#4221AE#4221AE

#4221AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.203 H 282.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4221AE
RGBrgb(66, 33, 174)
HSLhsl(254, 68%, 41%)
HSVhsv(254, 81%, 68%)
CMYKcmyk(62.1%, 81%, 0%, 31.8%)
CIE-LABlab(27.58, 51.54, -68.71)
CIE-LCHlch(27.58, 85.89, 306.87°)
OKLaboklab(39.9% 0.0453 -0.1982)
OKLCHoklch(39.9% 0.203 282.9)
XYZxyz(10.4282, 5.3012, 40.5099)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4221AE #8DAE21
analogous
#2146AE #4221AE #8921AE
triadic
#4221AE #AE4221 #21AE42
tetradic
#4221AE #AE2146 #8DAE21 #21AE89
square
#4221AE #AE2146 #8DAE21 #21AE89
split-complementary
#4221AE #AE8921 #46AE21
monochromatic
#1B0D47 #2E177B #4221AE #5A34D8 #8467E2

Accessibility & contrast

On white

10.19
#4221AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4221AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4221AE
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4221AE#FFFFFF#000000##FFFFFF
##4221AE1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4221ae;
/* rgb */ color: rgb(66, 33, 174);
/* oklch */ color: oklch(39.9% 0.203 282.9);
Tailwind
colors: {
  custom: {
    50: '#8562c7',
    500: '#4221ae',
    950: '#000000',
  },
}
SCSS
$custom: #4221ae;
$custom-light: #8562c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4221ae",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 254.043,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.399,
    "c": 0.20328,
    "h": 282.9
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4221AE

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

Preview Lab → · Contrast checker → · Palette generator →

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