#422CA2#422CA2

#422CA2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.179 H 283.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#422CA2
RGBrgb(66, 44, 162)
HSLhsl(251, 57%, 40%)
HSVhsv(251, 73%, 64%)
CMYKcmyk(59.3%, 72.8%, 0%, 36.5%)
CIE-LABlab(28.29, 42.47, -60.30)
CIE-LCHlch(28.29, 73.75, 305.16°)
OKLaboklab(40.04% 0.0412 -0.1737)
OKLCHoklch(40.04% 0.179 283.4)
XYZxyz(9.6670, 5.5676, 34.7407)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422CA2 #8CA22C
analogous
#2C51A2 #422CA2 #7D2CA2
triadic
#422CA2 #A2422C #2CA242
tetradic
#422CA2 #A22C51 #8CA22C #2CA27D
square
#422CA2 #A22C51 #8CA22C #2CA27D
split-complementary
#422CA2 #A27D2C #51A22C
monochromatic
#1B1242 #2E1F72 #422CA2 #5A40CB #8470D8

Accessibility & contrast

On white

9.94
#422CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#422CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422CA2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422CA2#FFFFFF#000000##FFFFFF
##422CA21.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#064C64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422ca2;
/* rgb */ color: rgb(66, 44, 162);
/* oklch */ color: oklch(40.0% 0.179 283.4);
Tailwind
colors: {
  custom: {
    50: '#8267bf',
    500: '#422ca2',
    950: '#000000',
  },
}
SCSS
$custom: #422ca2;
$custom-light: #8267bf;
$custom-dark: #000000;
JSON
{
  "hex": "#422ca2",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 251.186,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40041,
    "c": 0.17851,
    "h": 283.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#422CA2
secondary
#B0BF6A
accent
#E147C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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