#422EA1#422EA1

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

Color values

HEX#422EA1
RGBrgb(66, 46, 161)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 71%, 63%)
CMYKcmyk(59%, 71.4%, 0%, 36.9%)
CIE-LABlab(28.60, 41.04, -59.18)
CIE-LCHlch(28.60, 72.02, 304.74°)
OKLaboklab(40.23% 0.0398 -0.1704)
OKLCHoklch(40.23% 0.175 283.2)
XYZxyz(9.6548, 5.6848, 34.2998)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422EA1 #8DA12E
analogous
#2E53A1 #422EA1 #7B2EA1
triadic
#422EA1 #A1422E #2EA142
tetradic
#422EA1 #A12E53 #8DA12E #2EA17B
square
#422EA1 #A12E53 #8DA12E #2EA17B
split-complementary
#422EA1 #A17B2E #53A12E
monochromatic
#1B1342 #2E2071 #422EA1 #5A43C9 #8473D7

Accessibility & contrast

On white

9.83
#422EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422EA1
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422EA1#FFFFFF#000000##FFFFFF
##422EA11.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#094D64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422ea1;
/* rgb */ color: rgb(66, 46, 161);
/* oklch */ color: oklch(40.2% 0.175 283.2);
Tailwind
colors: {
  custom: {
    50: '#8169be',
    500: '#422ea1',
    950: '#000000',
  },
}
SCSS
$custom: #422ea1;
$custom-light: #8169be;
$custom-dark: #000000;
JSON
{
  "hex": "#422ea1",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 250.435,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.17503,
    "h": 283.2
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #422EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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