#422D8E#422D8E

#422D8E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.152 H 286.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#422D8E
RGBrgb(66, 45, 142)
HSLhsl(253, 52%, 37%)
HSVhsv(253, 68%, 56%)
CMYKcmyk(53.5%, 68.3%, 0%, 44.3%)
CIE-LABlab(26.70, 35.68, -50.66)
CIE-LCHlch(26.70, 61.96, 305.16°)
OKLaboklab(38.35% 0.044 -0.1454)
OKLCHoklch(38.35% 0.152 286.8)
XYZxyz(8.0662, 4.9876, 26.1236)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D8E #798E2D
analogous
#2D498E #422D8E #732D8E
triadic
#422D8E #8E422D #2D8E42
tetradic
#422D8E #8E2D49 #798E2D #2D8E73
square
#422D8E #8E2D49 #798E2D #2D8E73
split-complementary
#422D8E #8E732D #498E2D
monochromatic
#171031 #2C1E60 #422D8E #583CBC #7D67CF

Accessibility & contrast

On white

10.51
#422D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#422D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D8E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D8E#FFFFFF#000000##FFFFFF
##422D8E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#244559
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422d8e;
/* rgb */ color: rgb(66, 45, 142);
/* oklch */ color: oklch(38.3% 0.152 286.8);
Tailwind
colors: {
  custom: {
    50: '#7e67b0',
    500: '#422d8e',
    950: '#000000',
  },
}
SCSS
$custom: #422d8e;
$custom-light: #7e67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#422d8e",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 252.99,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.15193,
    "h": 286.8
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#422D8E
secondary
#A3B561
accent
#DB4CBC
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #422D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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