#422E84#422E84

#422E84 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.137 H 288.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#422E84
RGBrgb(66, 46, 132)
HSLhsl(254, 48%, 35%)
HSVhsv(254, 65%, 52%)
CMYKcmyk(50%, 65.2%, 0%, 48.2%)
CIE-LABlab(26.09, 31.95, -45.42)
CIE-LCHlch(26.09, 55.53, 305.12°)
OKLaboklab(37.65% 0.0441 -0.13)
OKLCHoklch(37.65% 0.137 288.7)
XYZxyz(7.3874, 4.7779, 22.3583)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E84 #70842E
analogous
#2E4584 #422E84 #6D2E84
triadic
#422E84 #84422E #2E8442
tetradic
#422E84 #842E45 #70842E #2E846D
square
#422E84 #842E45 #70842E #2E846D
split-complementary
#422E84 #846D2E #45842E
monochromatic
#150E29 #2B1E57 #422E84 #593EB1 #7B64C9

Accessibility & contrast

On white

10.74
#422E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#422E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E84
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E84#FFFFFF#000000##FFFFFF
##422E841.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#003C82
Tritanopia (blue-blind)
#2C4254
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422e84;
/* rgb */ color: rgb(66, 46, 132);
/* oklch */ color: oklch(37.6% 0.137 288.7);
Tailwind
colors: {
  custom: {
    50: '#7c68a8',
    500: '#422e84',
    950: '#000000',
  },
}
SCSS
$custom: #422e84;
$custom-light: #7c68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422e84",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 253.953,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37647,
    "c": 0.13731,
    "h": 288.7
  },
  "luminance": 0.04778
}

Semantic roles & 50–950 ramp

primary
#422E84
secondary
#9DB05E
accent
#D850B8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422E84

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

Preview Lab → · Contrast checker → · Palette generator →

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