#422AAF#422AAF

#422AAF is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.196 H 281.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#422AAF
RGBrgb(66, 42, 175)
HSLhsl(251, 61%, 43%)
HSVhsv(251, 76%, 69%)
CMYKcmyk(62.3%, 76%, 0%, 31.4%)
CIE-LABlab(29.18, 47.51, -66.67)
CIE-LCHlch(29.18, 81.86, 305.48°)
OKLaboklab(41.05% 0.0396 -0.1923)
OKLCHoklch(41.05% 0.196 281.6)
XYZxyz(10.8102, 5.9085, 41.1199)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AAF #97AF2A
analogous
#2A55AF #422AAF #842AAF
triadic
#422AAF #AF422A #2AAF42
tetradic
#422AAF #AF2A55 #97AF2A #2AAF84
square
#422AAF #AF2A55 #97AF2A #2AAF84
split-complementary
#422AAF #AF842A #55AF2A
monochromatic
#1D124C #2F1E7E #422AAF #5E44D2 #8875DE

Accessibility & contrast

On white

9.63
#422AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#422AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AAF
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AAF#FFFFFF#000000##FFFFFF
##422AAF1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #422aaf;
/* rgb */ color: rgb(66, 42, 175);
/* oklch */ color: oklch(41.0% 0.196 281.6);
Tailwind
colors: {
  custom: {
    50: '#8467c8',
    500: '#422aaf',
    950: '#000000',
  },
}
SCSS
$custom: #422aaf;
$custom-light: #8467c8;
$custom-dark: #000000;
JSON
{
  "hex": "#422aaf",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 250.827,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41049,
    "c": 0.19634,
    "h": 281.6
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#422AAF
secondary
#B6C66F
accent
#E443C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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