#422DA4#422DA4

#422DA4 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.180 H 282.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#422DA4
RGBrgb(66, 45, 164)
HSLhsl(251, 57%, 41%)
HSVhsv(251, 73%, 64%)
CMYKcmyk(59.8%, 72.6%, 0%, 35.7%)
CIE-LABlab(28.68, 42.54, -60.87)
CIE-LCHlch(28.68, 74.26, 304.94°)
OKLaboklab(40.37% 0.04 -0.1754)
OKLCHoklch(40.37% 0.18 282.9)
XYZxyz(9.8839, 5.7147, 35.6970)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422DA4 #8FA42D
analogous
#2D53A4 #422DA4 #7D2DA4
triadic
#422DA4 #A4422D #2DA442
tetradic
#422DA4 #A42D53 #8FA42D #2DA47D
square
#422DA4 #A42D53 #8FA42D #2DA47D
split-complementary
#422DA4 #A47D2D #53A42D
monochromatic
#1B1344 #2F2074 #422DA4 #5B43CB #8573D9

Accessibility & contrast

On white

9.80
#422DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#422DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422DA4
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422DA4#FFFFFF#000000##FFFFFF
##422DA41.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0040A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422da4;
/* rgb */ color: rgb(66, 45, 164);
/* oklch */ color: oklch(40.4% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#8268c0',
    500: '#422da4',
    950: '#000000',
  },
}
SCSS
$custom: #422da4;
$custom-light: #8268c0;
$custom-dark: #000000;
JSON
{
  "hex": "#422da4",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 250.588,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.17989,
    "h": 282.9
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#422DA4
secondary
#B1C06D
accent
#E048C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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