#422AAC#422AAC

#422AAC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.193 H 282.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#422AAC
RGBrgb(66, 42, 172)
HSLhsl(251, 61%, 42%)
HSVhsv(251, 76%, 67%)
CMYKcmyk(61.6%, 75.6%, 0%, 32.5%)
CIE-LABlab(28.88, 46.60, -65.36)
CIE-LCHlch(28.88, 80.27, 305.49°)
OKLaboklab(40.75% 0.0404 -0.1885)
OKLCHoklch(40.75% 0.193 282.1)
XYZxyz(10.5188, 5.7920, 39.5854)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AAC #94AC2A
analogous
#2A53AC #422AAC #832AAC
triadic
#422AAC #AC422A #2AAC42
tetradic
#422AAC #AC2A53 #94AC2A #2AAC83
square
#422AAC #AC2A53 #94AC2A #2AAC83
split-complementary
#422AAC #AC832A #53AC2A
monochromatic
#1C124A #2F1E7B #422AAC #5D42D1 #8773DD

Accessibility & contrast

On white

9.73
#422AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#422AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AAC
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AAC#FFFFFF#000000##FFFFFF
##422AAC1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#003FAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422aac;
/* rgb */ color: rgb(66, 42, 172);
/* oklch */ color: oklch(40.7% 0.193 282.1);
Tailwind
colors: {
  custom: {
    50: '#8467c6',
    500: '#422aac',
    950: '#000000',
  },
}
SCSS
$custom: #422aac;
$custom-light: #8467c6;
$custom-dark: #000000;
JSON
{
  "hex": "#422aac",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 251.077,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40749,
    "c": 0.19276,
    "h": 282.1
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #422AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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