#422EA3#422EA3

#422EA3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.178 H 282.8°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#422EA3
RGBrgb(66, 46, 163)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 64%)
CMYKcmyk(59.5%, 71.8%, 0%, 36.1%)
CIE-LABlab(28.79, 41.67, -60.09)
CIE-LCHlch(28.79, 73.12, 304.74°)
OKLaboklab(40.42% 0.0394 -0.1731)
OKLCHoklch(40.42% 0.178 282.8)
XYZxyz(9.8326, 5.7559, 35.2361)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422EA3 #8FA32E
analogous
#2E54A3 #422EA3 #7C2EA3
triadic
#422EA3 #A3422E #2EA342
tetradic
#422EA3 #A32E54 #8FA32E #2EA37C
square
#422EA3 #A32E54 #8FA32E #2EA37C
split-complementary
#422EA3 #A37C2E #54A32E
monochromatic
#1B1344 #2F2173 #422EA3 #5B44CA #8574D8

Accessibility & contrast

On white

9.76
#422EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#422EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422EA3
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422EA3#FFFFFF#000000##FFFFFF
##422EA31.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#034E65
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422ea3;
/* rgb */ color: rgb(66, 46, 163);
/* oklch */ color: oklch(40.4% 0.178 282.8);
Tailwind
colors: {
  custom: {
    50: '#8269bf',
    500: '#422ea3',
    950: '#000000',
  },
}
SCSS
$custom: #422ea3;
$custom-light: #8269bf;
$custom-dark: #000000;
JSON
{
  "hex": "#422ea3",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 250.256,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40421,
    "c": 0.17753,
    "h": 282.8
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#422EA3
secondary
#B1BF6D
accent
#DF49C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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