#422DA1#422DA1

#422DA1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.176 H 283.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#422DA1
RGBrgb(66, 45, 161)
HSLhsl(251, 56%, 40%)
HSVhsv(251, 72%, 63%)
CMYKcmyk(59%, 72%, 0%, 36.9%)
CIE-LABlab(28.40, 41.60, -59.52)
CIE-LCHlch(28.40, 72.62, 304.96°)
OKLaboklab(40.09% 0.0406 -0.1714)
OKLCHoklch(40.09% 0.176 283.3)
XYZxyz(9.6162, 5.6076, 34.2870)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422DA1 #8CA12D
analogous
#2D52A1 #422DA1 #7C2DA1
triadic
#422DA1 #A1422D #2DA142
tetradic
#422DA1 #A12D52 #8CA12D #2DA17C
square
#422DA1 #A12D52 #8CA12D #2DA17C
split-complementary
#422DA1 #A17C2D #52A12D
monochromatic
#1B1241 #2E2071 #422DA1 #5A41CA #8471D7

Accessibility & contrast

On white

9.90
#422DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#422DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422DA1
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422DA1#FFFFFF#000000##FFFFFF
##422DA11.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#094C64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422da1;
/* rgb */ color: rgb(66, 45, 161);
/* oklch */ color: oklch(40.1% 0.176 283.3);
Tailwind
colors: {
  custom: {
    50: '#8168be',
    500: '#422da1',
    950: '#000000',
  },
}
SCSS
$custom: #422da1;
$custom-light: #8168be;
$custom-dark: #000000;
JSON
{
  "hex": "#422da1",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 250.862,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.17616,
    "h": 283.3
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#422DA1
secondary
#B0BF6B
accent
#E048C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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