#422AA4#422AA4

#422AA4 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.183 H 283.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#422AA4
RGBrgb(66, 42, 164)
HSLhsl(252, 59%, 40%)
HSVhsv(252, 74%, 64%)
CMYKcmyk(59.8%, 74.4%, 0%, 35.7%)
CIE-LABlab(28.10, 44.17, -61.83)
CIE-LCHlch(28.10, 75.99, 305.54°)
OKLaboklab(39.96% 0.0423 -0.1782)
OKLCHoklch(39.96% 0.183 283.4)
XYZxyz(9.7735, 5.4939, 35.6602)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AA4 #8CA42A
analogous
#2A4FA4 #422AA4 #7F2AA4
triadic
#422AA4 #A4422A #2AA442
tetradic
#422AA4 #A42A4F #8CA42A #2AA47F
square
#422AA4 #A42A4F #8CA42A #2AA47F
split-complementary
#422AA4 #A47F2A #4FA42A
monochromatic
#1B1143 #2E1E73 #422AA4 #5A3ECD #846EDA

Accessibility & contrast

On white

10.00
#422AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#422AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AA4
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AA4#FFFFFF#000000##FFFFFF
##422AA41.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#014C65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #422aa4;
/* rgb */ color: rgb(66, 42, 164);
/* oklch */ color: oklch(40.0% 0.183 283.4);
Tailwind
colors: {
  custom: {
    50: '#8266c0',
    500: '#422aa4',
    950: '#000000',
  },
}
SCSS
$custom: #422aa4;
$custom-light: #8266c0;
$custom-dark: #000000;
JSON
{
  "hex": "#422aa4",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 251.803,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.18312,
    "h": 283.4
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#422AA4
secondary
#B0C169
accent
#E245C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#422AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva