#422D8D#422D8D

#422D8D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.151 H 287.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#422D8D
RGBrgb(66, 45, 141)
HSLhsl(253, 52%, 36%)
HSVhsv(253, 68%, 55%)
CMYKcmyk(53.2%, 68.1%, 0%, 44.7%)
CIE-LABlab(26.61, 35.36, -50.18)
CIE-LCHlch(26.61, 61.39, 305.18°)
OKLaboklab(38.26% 0.0441 -0.144)
OKLCHoklch(38.26% 0.151 287)
XYZxyz(7.9915, 4.9577, 25.7300)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D8D #788D2D
analogous
#2D488D #422D8D #722D8D
triadic
#422D8D #8D422D #2D8D42
tetradic
#422D8D #8D2D48 #788D2D #2D8D72
square
#422D8D #8D2D48 #788D2D #2D8D72
split-complementary
#422D8D #8D722D #488D2D
monochromatic
#170F30 #2C1E5F #422D8D #583CBB #7D66CE

Accessibility & contrast

On white

10.54
#422D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#422D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D8D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D8D#FFFFFF#000000##FFFFFF
##422D8D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#254559
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422d8d;
/* rgb */ color: rgb(66, 45, 141);
/* oklch */ color: oklch(38.3% 0.151 287.0);
Tailwind
colors: {
  custom: {
    50: '#7e67af',
    500: '#422d8d',
    950: '#000000',
  },
}
SCSS
$custom: #422d8d;
$custom-light: #7e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#422d8d",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 253.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38258,
    "c": 0.15062,
    "h": 287
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#422D8D
secondary
#A2B561
accent
#DB4DBC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #422D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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