#422EA4#422EA4

#422EA4 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.179 H 282.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#422EA4
RGBrgb(66, 46, 164)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(59.8%, 72%, 0%, 35.7%)
CIE-LABlab(28.88, 41.98, -60.54)
CIE-LCHlch(28.88, 73.67, 304.74°)
OKLaboklab(40.52% 0.0392 -0.1744)
OKLCHoklch(40.52% 0.179 282.7)
XYZxyz(9.9225, 5.7919, 35.7098)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422EA4 #90A42E
analogous
#2E55A4 #422EA4 #7D2EA4
triadic
#422EA4 #A4422E #2EA442
tetradic
#422EA4 #A42E55 #90A42E #2EA47D
square
#422EA4 #A42E55 #90A42E #2EA47D
split-complementary
#422EA4 #A47D2E #55A42E
monochromatic
#1C1344 #2F2174 #422EA4 #5B45CB #8574D8

Accessibility & contrast

On white

9.73
#422EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#422EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422EA4
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422EA4#FFFFFF#000000##FFFFFF
##422EA41.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422ea4;
/* rgb */ color: rgb(66, 46, 164);
/* oklch */ color: oklch(40.5% 0.179 282.7);
Tailwind
colors: {
  custom: {
    50: '#8269c0',
    500: '#422ea4',
    950: '#000000',
  },
}
SCSS
$custom: #422ea4;
$custom-light: #8269c0;
$custom-dark: #000000;
JSON
{
  "hex": "#422ea4",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 250.169,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.17878,
    "h": 282.7
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#422EA4
secondary
#B2C06E
accent
#DF48C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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