#422A76#422A76

#422A76 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.124 H 293.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#422A76
RGBrgb(66, 42, 118)
HSLhsl(259, 48%, 31%)
HSVhsv(259, 64%, 46%)
CMYKcmyk(44.1%, 64.4%, 0%, 53.7%)
CIE-LABlab(24.07, 30.10, -39.85)
CIE-LCHlch(24.07, 49.94, 307.06°)
OKLaboklab(35.83% 0.05 -0.1137)
OKLCHoklch(35.83% 0.124 293.7)
XYZxyz(6.3439, 4.1220, 17.5974)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A76 #5E762A
analogous
#2A3876 #422A76 #682A76
triadic
#422A76 #76422A #2A7642
tetradic
#422A76 #762A38 #5E762A #2A7668
square
#422A76 #762A38 #5E762A #2A7668
split-complementary
#422A76 #76682A #38762A
monochromatic
#100A1C #291A49 #422A76 #5B3AA3 #7957C3

Accessibility & contrast

On white

11.51
#422A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#422A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A76
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A76#FFFFFF#000000##FFFFFF
##422A761.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003874
Tritanopia (blue-blind)
#343B4C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #422a76;
/* rgb */ color: rgb(66, 42, 118);
/* oklch */ color: oklch(35.8% 0.124 293.7);
Tailwind
colors: {
  custom: {
    50: '#7b659e',
    500: '#422a76',
    950: '#000000',
  },
}
SCSS
$custom: #422a76;
$custom-light: #7b659e;
$custom-dark: #000000;
JSON
{
  "hex": "#422a76",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 258.947,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35829,
    "c": 0.12416,
    "h": 293.7
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#422A76
secondary
#8DA854
accent
#D751AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #422A76

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

Preview Lab → · Contrast checker → · Palette generator →

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