#422A71#422A71

#422A71 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.117 H 295.3°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#422A71
RGBrgb(66, 42, 113)
HSLhsl(260, 46%, 30%)
HSVhsv(260, 63%, 44%)
CMYKcmyk(41.6%, 62.8%, 0%, 55.7%)
CIE-LABlab(23.69, 28.60, -37.27)
CIE-LCHlch(23.69, 46.98, 307.50°)
OKLaboklab(35.43% 0.0502 -0.1061)
OKLCHoklch(35.43% 0.117 295.3)
XYZxyz(6.0546, 4.0063, 16.0739)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A71 #59712A
analogous
#2A3571 #422A71 #652A71
triadic
#422A71 #71422A #2A7142
tetradic
#422A71 #712A35 #59712A #2A7165
square
#422A71 #712A35 #59712A #2A7165
split-complementary
#422A71 #71652A #35712A
monochromatic
#0E0918 #281944 #422A71 #5C3B9E #7955C0

Accessibility & contrast

On white

11.66
#422A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#422A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A71
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A71#FFFFFF#000000##FFFFFF
##422A711.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#08376F
Tritanopia (blue-blind)
#363A49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #422a71;
/* rgb */ color: rgb(66, 42, 113);
/* oklch */ color: oklch(35.4% 0.117 295.3);
Tailwind
colors: {
  custom: {
    50: '#7a659a',
    500: '#422a71',
    950: '#000000',
  },
}
SCSS
$custom: #422a71;
$custom-light: #7a659a;
$custom-dark: #000000;
JSON
{
  "hex": "#422a71",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 260.282,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35432,
    "c": 0.11735,
    "h": 295.3
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#422A71
secondary
#88A354
accent
#D552A9
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #422A71

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

Preview Lab → · Contrast checker → · Palette generator →

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