#422DA2#422DA2

#422DA2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.177 H 283.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#422DA2
RGBrgb(66, 45, 162)
HSLhsl(251, 57%, 41%)
HSVhsv(251, 72%, 64%)
CMYKcmyk(59.3%, 72.2%, 0%, 36.5%)
CIE-LABlab(28.49, 41.91, -59.97)
CIE-LCHlch(28.49, 73.16, 304.95°)
OKLaboklab(40.18% 0.0404 -0.1727)
OKLCHoklch(40.18% 0.177 283.2)
XYZxyz(9.7047, 5.6430, 34.7532)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422DA2 #8DA22D
analogous
#2D52A2 #422DA2 #7C2DA2
triadic
#422DA2 #A2422D #2DA242
tetradic
#422DA2 #A22D52 #8DA22D #2DA27C
square
#422DA2 #A22D52 #8DA22D #2DA27C
split-complementary
#422DA2 #A27C2D #52A22D
monochromatic
#1B1242 #2E2072 #422DA2 #5A42CA #8472D8

Accessibility & contrast

On white

9.86
#422DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#422DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422DA2
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422DA2#FFFFFF#000000##FFFFFF
##422DA21.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#064D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422da2;
/* rgb */ color: rgb(66, 45, 162);
/* oklch */ color: oklch(40.2% 0.177 283.2);
Tailwind
colors: {
  custom: {
    50: '#8268bf',
    500: '#422da2',
    950: '#000000',
  },
}
SCSS
$custom: #422da2;
$custom-light: #8268bf;
$custom-dark: #000000;
JSON
{
  "hex": "#422da2",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 250.769,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.1774,
    "h": 283.2
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#422DA2
secondary
#B0BF6C
accent
#E048C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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