#422C8D#422C8D

#422C8D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.1% C 0.152 H 287.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#422C8D
RGBrgb(66, 44, 141)
HSLhsl(254, 52%, 36%)
HSVhsv(254, 69%, 55%)
CMYKcmyk(53.2%, 68.8%, 0%, 44.7%)
CIE-LABlab(26.40, 35.95, -50.53)
CIE-LCHlch(26.40, 62.02, 305.43°)
OKLaboklab(38.1% 0.0451 -0.1451)
OKLCHoklch(38.1% 0.152 287.3)
XYZxyz(7.9537, 4.8823, 25.7174)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C8D #778D2C
analogous
#2C478D #422C8D #732C8D
triadic
#422C8D #8D422C #2C8D42
tetradic
#422C8D #8D2C47 #778D2C #2C8D73
square
#422C8D #8D2C47 #778D2C #2C8D73
split-complementary
#422C8D #8D732C #478D2C
monochromatic
#160F30 #2C1D5E #422C8D #583BBC #7D65CF

Accessibility & contrast

On white

10.62
#422C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#422C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C8D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C8D#FFFFFF#000000##FFFFFF
##422C8D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#254458
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #422c8d;
/* rgb */ color: rgb(66, 44, 141);
/* oklch */ color: oklch(38.1% 0.152 287.3);
Tailwind
colors: {
  custom: {
    50: '#7e67af',
    500: '#422c8d',
    950: '#000000',
  },
}
SCSS
$custom: #422c8d;
$custom-light: #7e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#422c8d",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 253.608,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.15191,
    "h": 287.3
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#422C8D
secondary
#A2B560
accent
#DC4CBB
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #422C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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