#422D96#422D96

#422D96 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.162 H 285.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#422D96
RGBrgb(66, 45, 150)
HSLhsl(252, 54%, 38%)
HSVhsv(252, 70%, 59%)
CMYKcmyk(56%, 70%, 0%, 41.2%)
CIE-LABlab(27.40, 38.18, -54.45)
CIE-LCHlch(27.40, 66.50, 305.04°)
OKLaboklab(39.06% 0.0427 -0.1565)
OKLCHoklch(39.06% 0.162 285.3)
XYZxyz(8.6885, 5.2365, 29.4012)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D96 #81962D
analogous
#2D4C96 #422D96 #762D96
triadic
#422D96 #96422D #2D9642
tetradic
#422D96 #962D4C #81962D #2D9676
square
#422D96 #962D4C #81962D #2D9676
split-complementary
#422D96 #96762D #4C962D
monochromatic
#191138 #2D1F67 #422D96 #573CC4 #806BD3

Accessibility & contrast

On white

10.26
#422D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#422D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D96
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D96#FFFFFF#000000##FFFFFF
##422D961.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#1C485E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #422d96;
/* rgb */ color: rgb(66, 45, 150);
/* oklch */ color: oklch(39.1% 0.162 285.3);
Tailwind
colors: {
  custom: {
    50: '#7f68b6',
    500: '#422d96',
    950: '#000000',
  },
}
SCSS
$custom: #422d96;
$custom-light: #7f68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#422d96",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 252,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39064,
    "c": 0.16227,
    "h": 285.3
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#422D96
secondary
#A9B965
accent
#DD4BC0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422D96

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

Preview Lab → · Contrast checker → · Palette generator →

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