#4221CA#4221CA

#4221CA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.9% C 0.234 H 278.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4221CA
RGBrgb(66, 33, 202)
HSLhsl(252, 72%, 46%)
HSVhsv(252, 84%, 79%)
CMYKcmyk(67.3%, 83.7%, 0%, 20.8%)
CIE-LABlab(30.66, 59.41, -80.18)
CIE-LCHlch(30.66, 99.79, 306.54°)
OKLaboklab(42.93% 0.0362 -0.2315)
OKLCHoklch(42.93% 0.234 278.9)
XYZxyz(13.4479, 6.5091, 56.4134)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4221CA #A9CA21
analogous
#2154CA #4221CA #9621CA
triadic
#4221CA #CA4221 #21CA42
tetradic
#4221CA #CA2154 #A9CA21 #21CA96
square
#4221CA #CA2154 #A9CA21 #21CA96
split-complementary
#4221CA #CA9621 #54CA21
monochromatic
#201061 #311895 #4221CA #6547E1 #917CEA

Accessibility & contrast

On white

9.12
#4221CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4221CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4221CA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4221CA#FFFFFF#000000##FFFFFF
##4221CA1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECE
Deuteranopia (green-blind)
#0041C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4221ca;
/* rgb */ color: rgb(66, 33, 202);
/* oklch */ color: oklch(42.9% 0.234 278.9);
Tailwind
colors: {
  custom: {
    50: '#8a64dc',
    500: '#4221ca',
    950: '#000000',
  },
}
SCSS
$custom: #4221ca;
$custom-light: #8a64dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4221ca",
  "rgb": {
    "r": 66,
    "g": 33,
    "b": 202
  },
  "hsl": {
    "h": 251.716,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.23434,
    "h": 278.9
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#4221CA
secondary
#C0D275
accent
#EF39CB
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4221CA

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

Preview Lab → · Contrast checker → · Palette generator →

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