#422DA7#422DA7

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

Color values

HEX#422DA7
RGBrgb(66, 45, 167)
HSLhsl(250, 58%, 42%)
HSVhsv(250, 73%, 65%)
CMYKcmyk(60.5%, 73.1%, 0%, 34.5%)
CIE-LABlab(28.96, 43.47, -62.22)
CIE-LCHlch(28.96, 75.90, 304.94°)
OKLaboklab(40.66% 0.0394 -0.1793)
OKLCHoklch(40.66% 0.184 282.4)
XYZxyz(10.1580, 5.8243, 37.1407)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422DA7 #92A72D
analogous
#2D55A7 #422DA7 #7F2DA7
triadic
#422DA7 #A7422D #2DA742
tetradic
#422DA7 #A72D55 #92A72D #2DA77F
square
#422DA7 #A72D55 #92A72D #2DA77F
split-complementary
#422DA7 #A77F2D #55A72D
monochromatic
#1C1347 #2F2077 #422DA7 #5C44CD #8675DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422DA7#FFFFFF#000000##FFFFFF
##422DA71.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)
#0048AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422da7;
/* rgb */ color: rgb(66, 45, 167);
/* oklch */ color: oklch(40.7% 0.184 282.4);
Tailwind
colors: {
  custom: {
    50: '#8268c2',
    500: '#422da7',
    950: '#000000',
  },
}
SCSS
$custom: #422da7;
$custom-light: #8268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#422da7",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 250.328,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.18358,
    "h": 282.4
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#422DA7
secondary
#B3C16E
accent
#E147C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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