#4222AE#4222AE

#4222AE is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.0% C 0.202 H 282.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4222AE
RGBrgb(66, 34, 174)
HSLhsl(254, 67%, 41%)
HSVhsv(254, 80%, 68%)
CMYKcmyk(62.1%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.73, 51.09, -68.46)
CIE-LCHlch(27.73, 85.42, 306.73°)
OKLaboklab(40.01% 0.0447 -0.1974)
OKLCHoklch(40.01% 0.202 282.8)
XYZxyz(10.4564, 5.3576, 40.5193)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4222AE #8EAE22
analogous
#2248AE #4222AE #8822AE
triadic
#4222AE #AE4222 #22AE42
tetradic
#4222AE #AE2248 #8EAE22 #22AE88
square
#4222AE #AE2248 #8EAE22 #22AE88
split-complementary
#4222AE #AE8822 #48AE22
monochromatic
#1B0E48 #2F187B #4222AE #5B36D8 #8469E2

Accessibility & contrast

On white

10.14
#4222AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4222AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4222AE
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4222AE#FFFFFF#000000##FFFFFF
##4222AE1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4222ae;
/* rgb */ color: rgb(66, 34, 174);
/* oklch */ color: oklch(40.0% 0.202 282.8);
Tailwind
colors: {
  custom: {
    50: '#8563c7',
    500: '#4222ae',
    950: '#000000',
  },
}
SCSS
$custom: #4222ae;
$custom-light: #8563c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4222ae",
  "rgb": {
    "r": 66,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 253.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.20246,
    "h": 282.8
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#4222AE
secondary
#B1C764
accent
#EA3EC3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4222AE

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

Preview Lab → · Contrast checker → · Palette generator →

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