#422E8D#422E8D

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

Color values

HEX#422E8D
RGBrgb(66, 46, 141)
HSLhsl(253, 51%, 37%)
HSVhsv(253, 67%, 55%)
CMYKcmyk(53.2%, 67.4%, 0%, 44.7%)
CIE-LABlab(26.83, 34.77, -49.82)
CIE-LCHlch(26.83, 60.75, 304.91°)
OKLaboklab(38.42% 0.0431 -0.143)
OKLCHoklch(38.42% 0.149 286.8)
XYZxyz(8.0301, 5.0349, 25.7429)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E8D #798D2E
analogous
#2E4A8D #422E8D #722E8D
triadic
#422E8D #8D422E #2E8D42
tetradic
#422E8D #8D2E4A #798D2E #2E8D72
square
#422E8D #8D2E4A #798D2E #2E8D72
split-complementary
#422E8D #8D722E #4A8D2E
monochromatic
#171031 #2C1F5F #422E8D #583DBB #7D68CE

Accessibility & contrast

On white

10.46
#422E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#422E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E8D
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E8D#FFFFFF#000000##FFFFFF
##422E8D1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#254659
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422e8d;
/* rgb */ color: rgb(66, 46, 141);
/* oklch */ color: oklch(38.4% 0.149 286.8);
Tailwind
colors: {
  custom: {
    50: '#7e68af',
    500: '#422e8d',
    950: '#000000',
  },
}
SCSS
$custom: #422e8d;
$custom-light: #7e68af;
$custom-dark: #000000;
JSON
{
  "hex": "#422e8d",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 252.632,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.14931,
    "h": 286.8
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#422E8D
secondary
#A3B562
accent
#DA4EBD
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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