#422A9E#422A9E

#422A9E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.176 H 284.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#422A9E
RGBrgb(66, 42, 158)
HSLhsl(252, 58%, 39%)
HSVhsv(252, 73%, 62%)
CMYKcmyk(58.2%, 73.4%, 0%, 38%)
CIE-LABlab(27.52, 42.34, -59.13)
CIE-LCHlch(27.52, 72.72, 305.60°)
OKLaboklab(39.38% 0.0437 -0.1703)
OKLCHoklch(39.38% 0.176 284.4)
XYZxyz(9.2444, 5.2822, 32.8736)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A9E #869E2A
analogous
#2A4C9E #422A9E #7C2A9E
triadic
#422A9E #9E422A #2A9E42
tetradic
#422A9E #9E2A4C #869E2A #2A9E7C
square
#422A9E #9E2A4C #869E2A #2A9E7C
split-complementary
#422A9E #9E7C2A #4C9E2A
monochromatic
#1A103D #2E1D6E #422A9E #583ACB #816BD8

Accessibility & contrast

On white

10.21
#422A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#422A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A9E
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A9E#FFFFFF#000000##FFFFFF
##422A9E1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#114A61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #422a9e;
/* rgb */ color: rgb(66, 42, 158);
/* oklch */ color: oklch(39.4% 0.176 284.4);
Tailwind
colors: {
  custom: {
    50: '#8166bc',
    500: '#422a9e',
    950: '#000000',
  },
}
SCSS
$custom: #422a9e;
$custom-light: #8166bc;
$custom-dark: #000000;
JSON
{
  "hex": "#422a9e",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 252.414,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39379,
    "c": 0.17577,
    "h": 284.4
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#422A9E
secondary
#ACBE66
accent
#E147C1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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