#422D84#422D84

#422D84 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.139 H 289.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#422D84
RGBrgb(66, 45, 132)
HSLhsl(254, 49%, 35%)
HSVhsv(254, 66%, 52%)
CMYKcmyk(50%, 65.9%, 0%, 48.2%)
CIE-LABlab(25.86, 32.56, -45.79)
CIE-LCHlch(25.86, 56.19, 305.41°)
OKLaboklab(37.48% 0.0452 -0.1311)
OKLCHoklch(37.48% 0.139 289)
XYZxyz(7.3488, 4.7007, 22.3454)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D84 #6F842D
analogous
#2D4384 #422D84 #6E2D84
triadic
#422D84 #84422D #2D8442
tetradic
#422D84 #842D43 #6F842D #2D846E
square
#422D84 #842D43 #6F842D #2D846E
split-complementary
#422D84 #846E2D #43842D
monochromatic
#140E29 #2B1D56 #422D84 #593DB2 #7B62C9

Accessibility & contrast

On white

10.82
#422D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#422D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D84
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D84#FFFFFF#000000##FFFFFF
##422D841.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#2C4254
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422d84;
/* rgb */ color: rgb(66, 45, 132);
/* oklch */ color: oklch(37.5% 0.139 289.0);
Tailwind
colors: {
  custom: {
    50: '#7c67a8',
    500: '#422d84',
    950: '#000000',
  },
}
SCSS
$custom: #422d84;
$custom-light: #7c67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422d84",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 254.483,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37481,
    "c": 0.13871,
    "h": 289
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#422D84
secondary
#9CB05D
accent
#D94FB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422D84

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

Preview Lab → · Contrast checker → · Palette generator →

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