#422D9E#422D9E

#422D9E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.172 H 283.8°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#422D9E
RGBrgb(66, 45, 158)
HSLhsl(251, 56%, 40%)
HSVhsv(251, 72%, 62%)
CMYKcmyk(58.2%, 71.5%, 0%, 38%)
CIE-LABlab(28.12, 40.67, -58.15)
CIE-LCHlch(28.12, 70.96, 304.97°)
OKLaboklab(39.81% 0.0412 -0.1674)
OKLCHoklch(39.81% 0.172 283.8)
XYZxyz(9.3548, 5.5031, 32.9104)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422D9E #899E2D
analogous
#2D519E #422D9E #7A2D9E
triadic
#422D9E #9E422D #2D9E42
tetradic
#422D9E #9E2D51 #899E2D #2D9E7A
square
#422D9E #9E2D51 #899E2D #2D9E7A
split-complementary
#422D9E #9E7A2D #519E2D
monochromatic
#1A123F #2E1F6E #422D9E #5940C9 #826FD6

Accessibility & contrast

On white

10.00
#422D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#422D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422D9E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422D9E#FFFFFF#000000##FFFFFF
##422D9E1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#104B62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #422d9e;
/* rgb */ color: rgb(66, 45, 158);
/* oklch */ color: oklch(39.8% 0.172 283.8);
Tailwind
colors: {
  custom: {
    50: '#8168bc',
    500: '#422d9e',
    950: '#000000',
  },
}
SCSS
$custom: #422d9e;
$custom-light: #8168bc;
$custom-dark: #000000;
JSON
{
  "hex": "#422d9e",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 251.15,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39805,
    "c": 0.1724,
    "h": 283.8
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

primary
#422D9E
secondary
#AEBD69
accent
#DF49C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #422D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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