#422AA7#422AA7

#422AA7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.187 H 282.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#422AA7
RGBrgb(66, 42, 167)
HSLhsl(252, 60%, 41%)
HSVhsv(252, 75%, 65%)
CMYKcmyk(60.5%, 74.9%, 0%, 34.5%)
CIE-LABlab(28.39, 45.08, -63.16)
CIE-LCHlch(28.39, 77.60, 305.52°)
OKLaboklab(40.25% 0.0416 -0.1821)
OKLCHoklch(40.25% 0.187 282.9)
XYZxyz(10.0476, 5.6035, 37.1038)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AA7 #8FA72A
analogous
#2A50A7 #422AA7 #802AA7
triadic
#422AA7 #A7422A #2AA742
tetradic
#422AA7 #A72A50 #8FA72A #2AA780
square
#422AA7 #A72A50 #8FA72A #2AA780
split-complementary
#422AA7 #A7802A #50A72A
monochromatic
#1B1145 #2F1E76 #422AA7 #5B3FCF #8570DB

Accessibility & contrast

On white

9.90
#422AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#422AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AA7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AA7#FFFFFF#000000##FFFFFF
##422AA71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422aa7;
/* rgb */ color: rgb(66, 42, 167);
/* oklch */ color: oklch(40.3% 0.187 282.9);
Tailwind
colors: {
  custom: {
    50: '#8367c2',
    500: '#422aa7',
    950: '#000000',
  },
}
SCSS
$custom: #422aa7;
$custom-light: #8367c2;
$custom-dark: #000000;
JSON
{
  "hex": "#422aa7",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 251.52,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40254,
    "c": 0.18675,
    "h": 282.9
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#422AA7
secondary
#B1C26B
accent
#E345C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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