#422CA4#422CA4

#422CA4 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.181 H 283.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#422CA4
RGBrgb(66, 44, 164)
HSLhsl(251, 58%, 41%)
HSVhsv(251, 73%, 64%)
CMYKcmyk(59.8%, 73.2%, 0%, 35.7%)
CIE-LABlab(28.48, 43.09, -61.20)
CIE-LCHlch(28.48, 74.84, 305.15°)
OKLaboklab(40.23% 0.0408 -0.1763)
OKLCHoklch(40.23% 0.181 283)
XYZxyz(9.8462, 5.6393, 35.6844)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422CA4 #8EA42C
analogous
#2C52A4 #422CA4 #7E2CA4
triadic
#422CA4 #A4422C #2CA442
tetradic
#422CA4 #A42C52 #8EA42C #2CA47E
square
#422CA4 #A42C52 #8EA42C #2CA47E
split-complementary
#422CA4 #A47E2C #52A42C
monochromatic
#1B1243 #2F1F74 #422CA4 #5B41CC #8471D9

Accessibility & contrast

On white

9.87
#422CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#422CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422CA4
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422CA4#FFFFFF#000000##FFFFFF
##422CA41.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422ca4;
/* rgb */ color: rgb(66, 44, 164);
/* oklch */ color: oklch(40.2% 0.181 283.0);
Tailwind
colors: {
  custom: {
    50: '#8268c0',
    500: '#422ca4',
    950: '#000000',
  },
}
SCSS
$custom: #422ca4;
$custom-light: #8268c0;
$custom-dark: #000000;
JSON
{
  "hex": "#422ca4",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 251,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.18098,
    "h": 283
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#422CA4
secondary
#B1C06B
accent
#E147C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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