#422EA2#422EA2

#422EA2 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.176 H 283.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#422EA2
RGBrgb(66, 46, 162)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(59.3%, 71.6%, 0%, 36.5%)
CIE-LABlab(28.70, 41.35, -59.64)
CIE-LCHlch(28.70, 72.57, 304.74°)
OKLaboklab(40.33% 0.0396 -0.1718)
OKLCHoklch(40.33% 0.176 283)
XYZxyz(9.7433, 5.7202, 34.7661)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422EA2 #8EA22E
analogous
#2E54A2 #422EA2 #7C2EA2
triadic
#422EA2 #A2422E #2EA242
tetradic
#422EA2 #A22E54 #8EA22E #2EA27C
square
#422EA2 #A22E54 #8EA22E #2EA27C
split-complementary
#422EA2 #A27C2E #54A22E
monochromatic
#1B1343 #2F2072 #422EA2 #5B43CA #8473D7

Accessibility & contrast

On white

9.79
#422EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422EA2
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422EA2#FFFFFF#000000##FFFFFF
##422EA21.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#064D65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422ea2;
/* rgb */ color: rgb(66, 46, 162);
/* oklch */ color: oklch(40.3% 0.176 283.0);
Tailwind
colors: {
  custom: {
    50: '#8169bf',
    500: '#422ea2',
    950: '#000000',
  },
}
SCSS
$custom: #422ea2;
$custom-light: #8169bf;
$custom-dark: #000000;
JSON
{
  "hex": "#422ea2",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 250.345,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.17628,
    "h": 283
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#422EA2
secondary
#B1BF6D
accent
#DF49C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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