#4222B3#4222B3

#4222B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.208 H 282.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4222B3
RGBrgb(66, 34, 179)
HSLhsl(253, 68%, 42%)
HSVhsv(253, 81%, 70%)
CMYKcmyk(63.1%, 81%, 0%, 29.8%)
CIE-LABlab(28.26, 52.52, -70.57)
CIE-LCHlch(28.26, 87.97, 306.66°)
OKLaboklab(40.53% 0.0432 -0.2036)
OKLCHoklch(40.53% 0.208 282)
XYZxyz(10.9529, 5.5562, 43.1344)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4222B3 #93B322
analogous
#224BB3 #4222B3 #8B22B3
triadic
#4222B3 #B34222 #22B342
tetradic
#4222B3 #B3224B #93B322 #22B38B
square
#4222B3 #B3224B #93B322 #22B38B
split-complementary
#4222B3 #B38B22 #4BB322
monochromatic
#1C0E4C #2F1880 #4222B3 #5C39D9 #876CE3

Accessibility & contrast

On white

9.95
#4222B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4222B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4222B3
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4222B3#FFFFFF#000000##FFFFFF
##4222B31.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4222b3;
/* rgb */ color: rgb(66, 34, 179);
/* oklch */ color: oklch(40.5% 0.208 282.0);
Tailwind
colors: {
  custom: {
    50: '#8663cb',
    500: '#4222b3',
    950: '#000000',
  },
}
SCSS
$custom: #4222b3;
$custom-light: #8663cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4222b3",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 253.241,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.20811,
    "h": 282
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#4222B3
secondary
#B4C968
accent
#EB3DC5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4222B3

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

Preview Lab → · Contrast checker → · Palette generator →

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