#422EA6#422EA6

#422EA6 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.181 H 282.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#422EA6
RGBrgb(66, 46, 166)
HSLhsl(250, 57%, 42%)
HSVhsv(250, 72%, 65%)
CMYKcmyk(60.2%, 72.3%, 0%, 34.9%)
CIE-LABlab(29.07, 42.60, -61.44)
CIE-LCHlch(29.07, 74.77, 304.74°)
OKLaboklab(40.71% 0.0388 -0.1771)
OKLCHoklch(40.71% 0.181 282.4)
XYZxyz(10.1046, 5.8647, 36.6685)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422EA6 #92A62E
analogous
#2E56A6 #422EA6 #7E2EA6
triadic
#422EA6 #A6422E #2EA642
tetradic
#422EA6 #A62E56 #92A62E #2EA67E
square
#422EA6 #A62E56 #92A62E #2EA67E
split-complementary
#422EA6 #A67E2E #56A62E
monochromatic
#1C1346 #2F2176 #422EA6 #5C46CC #8676D9

Accessibility & contrast

On white

9.66
#422EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#422EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422EA6
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422EA6#FFFFFF#000000##FFFFFF
##422EA61.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422ea6;
/* rgb */ color: rgb(66, 46, 166);
/* oklch */ color: oklch(40.7% 0.181 282.4);
Tailwind
colors: {
  custom: {
    50: '#8269c1',
    500: '#422ea6',
    950: '#000000',
  },
}
SCSS
$custom: #422ea6;
$custom-light: #8269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#422ea6",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 250,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.18127,
    "h": 282.4
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#422EA6
secondary
#B3C16F
accent
#E048C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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