#422AAA#422AAA

#422AAA is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.190 H 282.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#422AAA
RGBrgb(66, 42, 170)
HSLhsl(251, 60%, 42%)
HSVhsv(251, 75%, 67%)
CMYKcmyk(61.2%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.68, 46.00, -64.49)
CIE-LCHlch(28.68, 79.21, 305.50°)
OKLaboklab(40.55% 0.0409 -0.1859)
OKLCHoklch(40.55% 0.19 282.4)
XYZxyz(10.3282, 5.7157, 38.5814)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AAA #92AA2A
analogous
#2A52AA #422AAA #822AAA
triadic
#422AAA #AA422A #2AAA42
tetradic
#422AAA #AA2A52 #92AA2A #2AAA82
square
#422AAA #AA2A52 #92AA2A #2AAA82
split-complementary
#422AAA #AA822A #52AA2A
monochromatic
#1C1248 #2F1E79 #422AAA #5C41D0 #8672DC

Accessibility & contrast

On white

9.80
#422AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422AAA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AAA#FFFFFF#000000##FFFFFF
##422AAA1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422aaa;
/* rgb */ color: rgb(66, 42, 170);
/* oklch */ color: oklch(40.6% 0.190 282.4);
Tailwind
colors: {
  custom: {
    50: '#8367c4',
    500: '#422aaa',
    950: '#000000',
  },
}
SCSS
$custom: #422aaa;
$custom-light: #8367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#422aaa",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 251.25,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.19037,
    "h": 282.4
  },
  "luminance": 0.05716
}

Semantic roles & 50–950 ramp

primary
#422AAA
secondary
#B3C36C
accent
#E444C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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