#422D89#422D89

#422D89 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.145 H 287.9°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#422D89
RGBrgb(66, 45, 137)
HSLhsl(254, 51%, 36%)
HSVhsv(254, 67%, 54%)
CMYKcmyk(51.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(26.28, 34.12, -48.24)
CIE-LCHlch(26.28, 59.09, 305.27°)
OKLaboklab(37.91% 0.0446 -0.1383)
OKLCHoklch(37.91% 0.145 287.9)
XYZxyz(7.6992, 4.8408, 24.1908)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D89 #74892D
analogous
#2D4689 #422D89 #702D89
triadic
#422D89 #89422D #2D8942
tetradic
#422D89 #892D46 #74892D #2D8970
square
#422D89 #892D46 #74892D #2D8970
split-complementary
#422D89 #89702D #46892D
monochromatic
#160F2D #2C1E5B #422D89 #583CB7 #7C64CC

Accessibility & contrast

On white

10.67
#422D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#422D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D89
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D89#FFFFFF#000000##FFFFFF
##422D891.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#284457
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422d89;
/* rgb */ color: rgb(66, 45, 137);
/* oklch */ color: oklch(37.9% 0.145 287.9);
Tailwind
colors: {
  custom: {
    50: '#7d67ac',
    500: '#422d89',
    950: '#000000',
  },
}
SCSS
$custom: #422d89;
$custom-light: #7d67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#422d89",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 253.696,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37909,
    "c": 0.14535,
    "h": 287.9
  },
  "luminance": 0.04841
}

Semantic roles & 50–950 ramp

primary
#422D89
secondary
#A0B35F
accent
#DA4EBA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422D89

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

Preview Lab → · Contrast checker → · Palette generator →

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