#422E8B#422E8B

#422E8B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.147 H 287.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#422E8B
RGBrgb(66, 46, 139)
HSLhsl(253, 50%, 36%)
HSVhsv(253, 67%, 55%)
CMYKcmyk(52.5%, 66.9%, 0%, 45.5%)
CIE-LABlab(26.67, 34.14, -48.85)
CIE-LCHlch(26.67, 59.60, 304.95°)
OKLaboklab(38.24% 0.0434 -0.1401)
OKLCHoklch(38.24% 0.147 287.2)
XYZxyz(7.8826, 4.9759, 24.9662)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E8B #778B2E
analogous
#2E498B #422E8B #712E8B
triadic
#422E8B #8B422E #2E8B42
tetradic
#422E8B #8B2E49 #778B2E #2E8B71
square
#422E8B #8B2E49 #778B2E #2E8B71
split-complementary
#422E8B #8B712E #498B2E
monochromatic
#16102F #2C1F5D #422E8B #583DB9 #7D67CD

Accessibility & contrast

On white

10.53
#422E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#422E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422E8B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E8B#FFFFFF#000000##FFFFFF
##422E8B1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#274558
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #422e8b;
/* rgb */ color: rgb(66, 46, 139);
/* oklch */ color: oklch(38.2% 0.147 287.2);
Tailwind
colors: {
  custom: {
    50: '#7d68ae',
    500: '#422e8b',
    950: '#000000',
  },
}
SCSS
$custom: #422e8b;
$custom-light: #7d68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#422e8b",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 252.903,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38243,
    "c": 0.14667,
    "h": 287.2
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#422E8B
secondary
#A2B361
accent
#DA4EBC
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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