#422E71#422E71

#422E71 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.1% C 0.111 H 293.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#422E71
RGBrgb(66, 46, 113)
HSLhsl(258, 42%, 31%)
HSVhsv(258, 59%, 44%)
CMYKcmyk(41.6%, 59.3%, 0%, 55.7%)
CIE-LABlab(24.65, 26.08, -35.72)
CIE-LCHlch(24.65, 44.23, 306.14°)
OKLaboklab(36.14% 0.0449 -0.1015)
OKLCHoklch(36.14% 0.111 293.9)
XYZxyz(6.2036, 4.3043, 16.1236)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422E71 #5D712E
analogous
#2E3B71 #422E71 #632E71
triadic
#422E71 #71422E #2E7142
tetradic
#422E71 #712E3B #5D712E #2E7163
square
#422E71 #712E3B #5D712E #2E7163
split-complementary
#422E71 #71632E #3B712E
monochromatic
#0F0B1A #291C46 #422E71 #5B409C #795DBD

Accessibility & contrast

On white

11.29
#422E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422E71
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422E71#FFFFFF#000000##FFFFFF
##422E711.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B73
Deuteranopia (green-blind)
#123970
Tritanopia (blue-blind)
#363C4A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #422e71;
/* rgb */ color: rgb(66, 46, 113);
/* oklch */ color: oklch(36.1% 0.111 293.9);
Tailwind
colors: {
  custom: {
    50: '#7a679a',
    500: '#422e71',
    950: '#000000',
  },
}
SCSS
$custom: #422e71;
$custom-light: #7a679a;
$custom-dark: #000000;
JSON
{
  "hex": "#422e71",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 257.91,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36137,
    "c": 0.11101,
    "h": 293.9
  },
  "luminance": 0.04304
}

Semantic roles & 50–950 ramp

primary
#422E71
secondary
#8CA258
accent
#D256AD
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #422E71

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

Preview Lab → · Contrast checker → · Palette generator →

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