#422AAE#422AAE

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

Color values

HEX#422AAE
RGBrgb(66, 42, 174)
HSLhsl(251, 61%, 42%)
HSVhsv(251, 76%, 68%)
CMYKcmyk(62.1%, 75.9%, 0%, 31.8%)
CIE-LABlab(29.08, 47.21, -66.23)
CIE-LCHlch(29.08, 81.33, 305.48°)
OKLaboklab(40.95% 0.0399 -0.191)
OKLCHoklch(40.95% 0.195 281.8)
XYZxyz(10.7123, 5.8694, 40.6046)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AAE #96AE2A
analogous
#2A54AE #422AAE #842AAE
triadic
#422AAE #AE422A #2AAE42
tetradic
#422AAE #AE2A54 #96AE2A #2AAE84
square
#422AAE #AE2A54 #96AE2A #2AAE84
split-complementary
#422AAE #AE842A #54AE2A
monochromatic
#1D124B #2F1E7D #422AAE #5D43D2 #8875DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422AAE#FFFFFF#000000##FFFFFF
##422AAE1.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)
#0049B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #422aae;
/* rgb */ color: rgb(66, 42, 174);
/* oklch */ color: oklch(40.9% 0.195 281.8);
Tailwind
colors: {
  custom: {
    50: '#8467c7',
    500: '#422aae',
    950: '#000000',
  },
}
SCSS
$custom: #422aae;
$custom-light: #8467c7;
$custom-dark: #000000;
JSON
{
  "hex": "#422aae",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 250.909,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.19514,
    "h": 281.8
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#422AAE
secondary
#B5C56F
accent
#E444C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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