#422DA5#422DA5

#422DA5 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.181 H 282.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#422DA5
RGBrgb(66, 45, 165)
HSLhsl(251, 57%, 41%)
HSVhsv(251, 73%, 65%)
CMYKcmyk(60%, 72.7%, 0%, 35.3%)
CIE-LABlab(28.78, 42.85, -61.32)
CIE-LCHlch(28.78, 74.81, 304.94°)
OKLaboklab(40.47% 0.0398 -0.1767)
OKLCHoklch(40.47% 0.181 282.7)
XYZxyz(9.9746, 5.7510, 36.1744)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422DA5 #90A52D
analogous
#2D54A5 #422DA5 #7E2DA5
triadic
#422DA5 #A5422D #2DA542
tetradic
#422DA5 #A52D54 #90A52D #2DA57E
square
#422DA5 #A52D54 #90A52D #2DA57E
split-complementary
#422DA5 #A57E2D #54A52D
monochromatic
#1C1345 #2F2075 #422DA5 #5B43CC #8573D9

Accessibility & contrast

On white

9.77
#422DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #422DA5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422DA5#FFFFFF#000000##FFFFFF
##422DA51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.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: #422da5;
/* rgb */ color: rgb(66, 45, 165);
/* oklch */ color: oklch(40.5% 0.181 282.7);
Tailwind
colors: {
  custom: {
    50: '#8268c1',
    500: '#422da5',
    950: '#000000',
  },
}
SCSS
$custom: #422da5;
$custom-light: #8268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#422da5",
  "rgb": {
    "r": 66,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 250.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.18112,
    "h": 282.7
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#422DA5
secondary
#B2C16D
accent
#E047C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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