#422D86#422D86

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

Color values

HEX#422D86
RGBrgb(66, 45, 134)
HSLhsl(254, 50%, 35%)
HSVhsv(254, 66%, 53%)
CMYKcmyk(50.7%, 66.4%, 0%, 47.5%)
CIE-LABlab(26.03, 33.18, -46.78)
CIE-LCHlch(26.03, 57.35, 305.35°)
OKLaboklab(37.65% 0.045 -0.134)
OKLCHoklch(37.65% 0.141 288.6)
XYZxyz(7.4870, 4.7559, 23.0731)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D86 #71862D
analogous
#2D4586 #422D86 #6E2D86
triadic
#422D86 #86422D #2D8642
tetradic
#422D86 #862D45 #71862D #2D866E
square
#422D86 #862D45 #71862D #2D866E
split-complementary
#422D86 #866E2D #45862D
monochromatic
#150E2A #2B1E58 #422D86 #593CB4 #7B63CB

Accessibility & contrast

On white

10.76
#422D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422D86
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D86#FFFFFF#000000##FFFFFF
##422D861.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#2B4355
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422d86;
/* rgb */ color: rgb(66, 45, 134);
/* oklch */ color: oklch(37.7% 0.141 288.6);
Tailwind
colors: {
  custom: {
    50: '#7d67aa',
    500: '#422d86',
    950: '#000000',
  },
}
SCSS
$custom: #422d86;
$custom-light: #7d67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#422d86",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 254.157,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37651,
    "c": 0.14137,
    "h": 288.6
  },
  "luminance": 0.04756
}

Semantic roles & 50–950 ramp

primary
#422D86
secondary
#9DB15E
accent
#D94FB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422D86

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

Preview Lab → · Contrast checker → · Palette generator →

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