#422D87#422D87

#422D87 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.143 H 288.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#422D87
RGBrgb(66, 45, 135)
HSLhsl(254, 50%, 35%)
HSVhsv(254, 67%, 53%)
CMYKcmyk(51.1%, 66.7%, 0%, 47.1%)
CIE-LABlab(26.11, 33.49, -47.27)
CIE-LCHlch(26.11, 57.93, 305.32°)
OKLaboklab(37.74% 0.0449 -0.1355)
OKLCHoklch(37.74% 0.143 288.3)
XYZxyz(7.5571, 4.7840, 23.4422)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D87 #72872D
analogous
#2D4587 #422D87 #6F2D87
triadic
#422D87 #87422D #2D8742
tetradic
#422D87 #872D45 #72872D #2D876F
square
#422D87 #872D45 #72872D #2D876F
split-complementary
#422D87 #876F2D #45872D
monochromatic
#150E2B #2C1E59 #422D87 #583CB5 #7C63CB

Accessibility & contrast

On white

10.73
#422D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422D87
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D87#FFFFFF#000000##FFFFFF
##422D871.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#2A4356
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422d87;
/* rgb */ color: rgb(66, 45, 135);
/* oklch */ color: oklch(37.7% 0.143 288.3);
Tailwind
colors: {
  custom: {
    50: '#7d67ab',
    500: '#422d87',
    950: '#000000',
  },
}
SCSS
$custom: #422d87;
$custom-light: #7d67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422d87",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 254,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.1427,
    "h": 288.3
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#422D87
secondary
#9EB25E
accent
#DA4EB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422D87

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

Preview Lab → · Contrast checker → · Palette generator →

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