#422D79#422D79

#422D79 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.6% C 0.124 H 291.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#422D79
RGBrgb(66, 45, 121)
HSLhsl(257, 46%, 33%)
HSVhsv(257, 63%, 47%)
CMYKcmyk(45.5%, 62.8%, 0%, 52.5%)
CIE-LABlab(25.00, 29.16, -40.26)
CIE-LCHlch(25.00, 49.71, 305.91°)
OKLaboklab(36.58% 0.0461 -0.1149)
OKLCHoklch(36.58% 0.124 291.9)
XYZxyz(6.6354, 4.4153, 18.5881)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D79 #64792D
analogous
#2D3E79 #422D79 #682D79
triadic
#422D79 #79422D #2D7942
tetradic
#422D79 #792D3E #64792D #2D7968
square
#422D79 #792D3E #64792D #2D7968
split-complementary
#422D79 #79682D #3E792D
monochromatic
#110C20 #2A1C4C #422D79 #5A3EA6 #7A5DC3

Accessibility & contrast

On white

11.15
#422D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#422D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D79
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D79#FFFFFF#000000##FFFFFF
##422D791.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#003A77
Tritanopia (blue-blind)
#323E4E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422d79;
/* rgb */ color: rgb(66, 45, 121);
/* oklch */ color: oklch(36.6% 0.124 291.9);
Tailwind
colors: {
  custom: {
    50: '#7b67a0',
    500: '#422d79',
    950: '#000000',
  },
}
SCSS
$custom: #422d79;
$custom-light: #7b67a0;
$custom-dark: #000000;
JSON
{
  "hex": "#422d79",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 256.579,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36579,
    "c": 0.12375,
    "h": 291.9
  },
  "luminance": 0.04415
}

Semantic roles & 50–950 ramp

primary
#422D79
secondary
#93A958
accent
#D552B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #422D79

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

Preview Lab → · Contrast checker → · Palette generator →

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