#422AAB#422AAB

#422AAB is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.192 H 282.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#422AAB
RGBrgb(66, 42, 171)
HSLhsl(251, 61%, 42%)
HSVhsv(251, 75%, 67%)
CMYKcmyk(61.4%, 75.4%, 0%, 32.9%)
CIE-LABlab(28.78, 46.30, -64.92)
CIE-LCHlch(28.78, 79.74, 305.49°)
OKLaboklab(40.65% 0.0406 -0.1872)
OKLCHoklch(40.65% 0.192 282.2)
XYZxyz(10.4231, 5.7537, 39.0815)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AAB #93AB2A
analogous
#2A53AB #422AAB #832AAB
triadic
#422AAB #AB422A #2AAB42
tetradic
#422AAB #AB2A53 #93AB2A #2AAB83
square
#422AAB #AB2A53 #93AB2A #2AAB83
split-complementary
#422AAB #AB832A #53AB2A
monochromatic
#1C1249 #2F1E7A #422AAB #5C42D1 #8773DD

Accessibility & contrast

On white

9.76
#422AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#422AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AAB
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AAB#FFFFFF#000000##FFFFFF
##422AAB1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422aab;
/* rgb */ color: rgb(66, 42, 171);
/* oklch */ color: oklch(40.6% 0.192 282.2);
Tailwind
colors: {
  custom: {
    50: '#8367c5',
    500: '#422aab',
    950: '#000000',
  },
}
SCSS
$custom: #422aab;
$custom-light: #8367c5;
$custom-dark: #000000;
JSON
{
  "hex": "#422aab",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 251.163,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.19156,
    "h": 282.2
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #422AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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