#422A7D#422A7D

#422A7D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.4% C 0.134 H 291.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#422A7D
RGBrgb(66, 42, 125)
HSLhsl(257, 50%, 33%)
HSVhsv(257, 66%, 49%)
CMYKcmyk(47.2%, 66.4%, 0%, 51%)
CIE-LABlab(24.62, 32.22, -43.40)
CIE-LCHlch(24.62, 54.06, 306.59°)
OKLaboklab(36.4% 0.0494 -0.1241)
OKLCHoklch(36.4% 0.134 291.7)
XYZxyz(6.7754, 4.2946, 19.8700)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A7D #657D2A
analogous
#2A3C7D #422A7D #6B2A7D
triadic
#422A7D #7D422A #2A7D42
tetradic
#422A7D #7D2A3C #657D2A #2A7D6B
square
#422A7D #7D2A3C #657D2A #2A7D6B
split-complementary
#422A7D #7D6B2A #3C7D2A
monochromatic
#120B21 #2A1B4F #422A7D #5A39AB #7A5AC8

Accessibility & contrast

On white

11.30
#422A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#422A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A7D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A7D#FFFFFF#000000##FFFFFF
##422A7D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#303E4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #422a7d;
/* rgb */ color: rgb(66, 42, 125);
/* oklch */ color: oklch(36.4% 0.134 291.7);
Tailwind
colors: {
  custom: {
    50: '#7c65a3',
    500: '#422a7d',
    950: '#000000',
  },
}
SCSS
$custom: #422a7d;
$custom-light: #7c65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#422a7d",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 257.349,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36403,
    "c": 0.13356,
    "h": 291.7
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#422A7D
secondary
#94AD56
accent
#D94FB1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #422A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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