#422DA8#422DA8

#422DA8 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.185 H 282.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#422DA8
RGBrgb(66, 45, 168)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 73%, 66%)
CMYKcmyk(60.7%, 73.2%, 0%, 34.1%)
CIE-LABlab(29.06, 43.77, -62.66)
CIE-LCHlch(29.06, 76.44, 304.94°)
OKLaboklab(40.76% 0.0392 -0.1806)
OKLCHoklch(40.76% 0.185 282.2)
XYZxyz(10.2508, 5.8615, 37.6294)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422DA8 #93A82D
analogous
#2D56A8 #422DA8 #802DA8
triadic
#422DA8 #A8422D #2DA842
tetradic
#422DA8 #A82D56 #93A82D #2DA880
square
#422DA8 #A82D56 #93A82D #2DA880
split-complementary
#422DA8 #A8802D #56A82D
monochromatic
#1C1347 #2F2078 #422DA8 #5C45CD #8775DA

Accessibility & contrast

On white

9.67
#422DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#422DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422DA8
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422DA8#FFFFFF#000000##FFFFFF
##422DA81.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422da8;
/* rgb */ color: rgb(66, 45, 168);
/* oklch */ color: oklch(40.8% 0.185 282.2);
Tailwind
colors: {
  custom: {
    50: '#8368c3',
    500: '#422da8',
    950: '#000000',
  },
}
SCSS
$custom: #422da8;
$custom-light: #8368c3;
$custom-dark: #000000;
JSON
{
  "hex": "#422da8",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 250.244,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.18482,
    "h": 282.2
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#422DA8
secondary
#B4C26F
accent
#E147C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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