#422D9B#422D9B

#422D9B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.169 H 284.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#422D9B
RGBrgb(66, 45, 155)
HSLhsl(251, 55%, 39%)
HSVhsv(251, 71%, 61%)
CMYKcmyk(57.4%, 71%, 0%, 39.2%)
CIE-LABlab(27.85, 39.74, -56.77)
CIE-LCHlch(27.85, 69.29, 304.99°)
OKLaboklab(39.53% 0.0418 -0.1634)
OKLCHoklch(39.53% 0.169 284.4)
XYZxyz(9.0997, 5.4010, 31.5670)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D9B #869B2D
analogous
#2D4F9B #422D9B #792D9B
triadic
#422D9B #9B422D #2D9B42
tetradic
#422D9B #9B2D4F #869B2D #2D9B79
square
#422D9B #9B2D4F #869B2D #2D9B79
split-complementary
#422D9B #9B792D #4F9B2D
monochromatic
#1A113C #2E1F6C #422D9B #583EC7 #816ED5

Accessibility & contrast

On white

10.09
#422D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#422D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D9B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D9B#FFFFFF#000000##FFFFFF
##422D9B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#164A60
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #422d9b;
/* rgb */ color: rgb(66, 45, 155);
/* oklch */ color: oklch(39.5% 0.169 284.4);
Tailwind
colors: {
  custom: {
    50: '#8068b9',
    500: '#422d9b',
    950: '#000000',
  },
}
SCSS
$custom: #422d9b;
$custom-light: #8068b9;
$custom-dark: #000000;
JSON
{
  "hex": "#422d9b",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 251.455,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39525,
    "c": 0.16862,
    "h": 284.4
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#422D9B
secondary
#ACBC68
accent
#DE49C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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