#4222BD#4222BD

#4222BD is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.6% C 0.219 H 280.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4222BD
RGBrgb(66, 34, 189)
HSLhsl(252, 70%, 44%)
HSVhsv(252, 82%, 74%)
CMYKcmyk(65.1%, 82%, 0%, 25.9%)
CIE-LABlab(29.35, 55.36, -74.71)
CIE-LCHlch(29.35, 92.99, 306.54°)
OKLaboklab(41.6% 0.04 -0.2156)
OKLCHoklch(41.6% 0.219 280.5)
XYZxyz(12.0012, 5.9755, 48.6552)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4222BD #9DBD22
analogous
#224FBD #4222BD #8F22BD
triadic
#4222BD #BD4222 #22BD42
tetradic
#4222BD #BD224F #9DBD22 #22BD8F
square
#4222BD #BD224F #9DBD22 #22BD8F
split-complementary
#4222BD #BD8F22 #4FBD22
monochromatic
#1E0F55 #301989 #4222BD #6040DD #8B73E6

Accessibility & contrast

On white

9.57
#4222BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4222BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4222BD
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4222BD#FFFFFF#000000##FFFFFF
##4222BD1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4222bd;
/* rgb */ color: rgb(66, 34, 189);
/* oklch */ color: oklch(41.6% 0.219 280.5);
Tailwind
colors: {
  custom: {
    50: '#8764d2',
    500: '#4222bd',
    950: '#000000',
  },
}
SCSS
$custom: #4222bd;
$custom-light: #8764d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4222bd",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 252.387,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.21932,
    "h": 280.5
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#4222BD
secondary
#B9CD6E
accent
#EC3BC8
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4222BD

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

Preview Lab → · Contrast checker → · Palette generator →

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