#422D85#422D85

#422D85 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.140 H 288.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#422D85
RGBrgb(66, 45, 133)
HSLhsl(254, 49%, 35%)
HSVhsv(254, 66%, 52%)
CMYKcmyk(50.4%, 66.2%, 0%, 47.8%)
CIE-LABlab(25.95, 32.87, -46.28)
CIE-LCHlch(25.95, 56.77, 305.38°)
OKLaboklab(37.57% 0.0451 -0.1326)
OKLCHoklch(37.57% 0.14 288.8)
XYZxyz(7.4176, 4.7282, 22.7075)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D85 #70852D
analogous
#2D4485 #422D85 #6E2D85
triadic
#422D85 #85422D #2D8542
tetradic
#422D85 #852D44 #70852D #2D856E
square
#422D85 #852D44 #70852D #2D856E
split-complementary
#422D85 #856E2D #44852D
monochromatic
#150E2A #2B1E57 #422D85 #593CB3 #7B62CA

Accessibility & contrast

On white

10.79
#422D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#422D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D85
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D85#FFFFFF#000000##FFFFFF
##422D851.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#2B4254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422d85;
/* rgb */ color: rgb(66, 45, 133);
/* oklch */ color: oklch(37.6% 0.140 288.8);
Tailwind
colors: {
  custom: {
    50: '#7d67a9',
    500: '#422d85',
    950: '#000000',
  },
}
SCSS
$custom: #422d85;
$custom-light: #7d67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#422d85",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 254.318,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37566,
    "c": 0.14004,
    "h": 288.8
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#422D85
secondary
#9DB05D
accent
#D94FB8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422D85

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

Preview Lab → · Contrast checker → · Palette generator →

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