#422EA5#422EA5

#422EA5 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.180 H 282.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#422EA5
RGBrgb(66, 46, 165)
HSLhsl(250, 56%, 41%)
HSVhsv(250, 72%, 65%)
CMYKcmyk(60%, 72.1%, 0%, 35.3%)
CIE-LABlab(28.97, 42.29, -60.99)
CIE-LCHlch(28.97, 74.22, 304.74°)
OKLaboklab(40.61% 0.039 -0.1757)
OKLCHoklch(40.61% 0.18 282.5)
XYZxyz(10.0132, 5.8282, 36.1873)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422EA5 #91A52E
analogous
#2E56A5 #422EA5 #7E2EA5
triadic
#422EA5 #A5422E #2EA542
tetradic
#422EA5 #A52E56 #91A52E #2EA57E
square
#422EA5 #A52E56 #91A52E #2EA57E
split-complementary
#422EA5 #A57E2E #56A52E
monochromatic
#1C1345 #2F2175 #422EA5 #5C45CB #8675D8

Accessibility & contrast

On white

9.70
#422EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#422EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422EA5
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422EA5#FFFFFF#000000##FFFFFF
##422EA51.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422ea5;
/* rgb */ color: rgb(66, 46, 165);
/* oklch */ color: oklch(40.6% 0.180 282.5);
Tailwind
colors: {
  custom: {
    50: '#8269c1',
    500: '#422ea5',
    950: '#000000',
  },
}
SCSS
$custom: #422ea5;
$custom-light: #8269c1;
$custom-dark: #000000;
JSON
{
  "hex": "#422ea5",
  "rgb": {
    "r": 66,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 250.084,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40611,
    "c": 0.18002,
    "h": 282.5
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#422EA5
secondary
#B3C06F
accent
#E048C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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