#422AA6#422AA6

#422AA6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.186 H 283.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#422AA6
RGBrgb(66, 42, 166)
HSLhsl(252, 60%, 41%)
HSVhsv(252, 75%, 65%)
CMYKcmyk(60.2%, 74.7%, 0%, 34.9%)
CIE-LABlab(28.29, 44.78, -62.72)
CIE-LCHlch(28.29, 77.06, 305.53°)
OKLaboklab(40.16% 0.0418 -0.1808)
OKLCHoklch(40.16% 0.186 283)
XYZxyz(9.9555, 5.5667, 36.6189)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AA6 #8EA62A
analogous
#2A50A6 #422AA6 #802AA6
triadic
#422AA6 #A6422A #2AA642
tetradic
#422AA6 #A62A50 #8EA62A #2AA680
square
#422AA6 #A62A50 #8EA62A #2AA680
split-complementary
#422AA6 #A6802A #50A62A
monochromatic
#1B1144 #2F1E75 #422AA6 #5B3FCE #8470DB

Accessibility & contrast

On white

9.94
#422AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#422AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AA6
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AA6#FFFFFF#000000##FFFFFF
##422AA61.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422aa6;
/* rgb */ color: rgb(66, 42, 166);
/* oklch */ color: oklch(40.2% 0.186 283.0);
Tailwind
colors: {
  custom: {
    50: '#8266c2',
    500: '#422aa6',
    950: '#000000',
  },
}
SCSS
$custom: #422aa6;
$custom-light: #8266c2;
$custom-dark: #000000;
JSON
{
  "hex": "#422aa6",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 251.613,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40155,
    "c": 0.18555,
    "h": 283
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#422AA6
secondary
#B1C26A
accent
#E345C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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