#422D9D#422D9D

#422D9D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.171 H 284.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#422D9D
RGBrgb(66, 45, 157)
HSLhsl(251, 55%, 40%)
HSVhsv(251, 71%, 62%)
CMYKcmyk(58%, 71.3%, 0%, 38.4%)
CIE-LABlab(28.03, 40.36, -57.69)
CIE-LCHlch(28.03, 70.41, 304.98°)
OKLaboklab(39.71% 0.0414 -0.1661)
OKLCHoklch(39.71% 0.171 284)
XYZxyz(9.2691, 5.4688, 32.4589)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D9D #889D2D
analogous
#2D509D #422D9D #7A2D9D
triadic
#422D9D #9D422D #2D9D42
tetradic
#422D9D #9D2D50 #889D2D #2D9D7A
square
#422D9D #9D2D50 #889D2D #2D9D7A
split-complementary
#422D9D #9D7A2D #509D2D
monochromatic
#1A123E #2E1F6D #422D9D #593FC8 #826FD6

Accessibility & contrast

On white

10.03
#422D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#422D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D9D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D9D#FFFFFF#000000##FFFFFF
##422D9D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#124B62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #422d9d;
/* rgb */ color: rgb(66, 45, 157);
/* oklch */ color: oklch(39.7% 0.171 284.0);
Tailwind
colors: {
  custom: {
    50: '#8168bb',
    500: '#422d9d',
    950: '#000000',
  },
}
SCSS
$custom: #422d9d;
$custom-light: #8168bb;
$custom-dark: #000000;
JSON
{
  "hex": "#422d9d",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 251.25,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39711,
    "c": 0.17115,
    "h": 284
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#422D9D
secondary
#ADBD69
accent
#DF49C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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