#422AA8#422AA8

#422AA8 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.188 H 282.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#422AA8
RGBrgb(66, 42, 168)
HSLhsl(251, 60%, 41%)
HSVhsv(251, 75%, 66%)
CMYKcmyk(60.7%, 75%, 0%, 34.1%)
CIE-LABlab(28.49, 45.39, -63.60)
CIE-LCHlch(28.49, 78.14, 305.51°)
OKLaboklab(40.35% 0.0414 -0.1834)
OKLCHoklch(40.35% 0.188 282.7)
XYZxyz(10.1404, 5.6406, 37.5926)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AA8 #90A82A
analogous
#2A51A8 #422AA8 #812AA8
triadic
#422AA8 #A8422A #2AA842
tetradic
#422AA8 #A82A51 #90A82A #2AA881
square
#422AA8 #A82A51 #90A82A #2AA881
split-complementary
#422AA8 #A8812A #51A82A
monochromatic
#1C1246 #2F1E77 #422AA8 #5B40CF #8571DB

Accessibility & contrast

On white

9.87
#422AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#422AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AA8
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AA8#FFFFFF#000000##FFFFFF
##422AA81.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422aa8;
/* rgb */ color: rgb(66, 42, 168);
/* oklch */ color: oklch(40.4% 0.188 282.7);
Tailwind
colors: {
  custom: {
    50: '#8367c3',
    500: '#422aa8',
    950: '#000000',
  },
}
SCSS
$custom: #422aa8;
$custom-light: #8367c3;
$custom-dark: #000000;
JSON
{
  "hex": "#422aa8",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 251.429,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.18795,
    "h": 282.7
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#422AA8
secondary
#B2C36B
accent
#E345C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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