#422BA4#422BA4

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

Color values

HEX#422BA4
RGBrgb(66, 43, 164)
HSLhsl(251, 58%, 41%)
HSVhsv(251, 74%, 64%)
CMYKcmyk(59.8%, 73.8%, 0%, 35.7%)
CIE-LABlab(28.29, 43.63, -61.51)
CIE-LCHlch(28.29, 75.42, 305.35°)
OKLaboklab(40.1% 0.0416 -0.1772)
OKLCHoklch(40.1% 0.182 283.2)
XYZxyz(9.8094, 5.5657, 35.6721)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422BA4 #8DA42B
analogous
#2B50A4 #422BA4 #7E2BA4
triadic
#422BA4 #A4422B #2BA442
tetradic
#422BA4 #A42B50 #8DA42B #2BA47E
square
#422BA4 #A42B50 #8DA42B #2BA47E
split-complementary
#422BA4 #A47E2B #50A42B
monochromatic
#1B1243 #2E1E74 #422BA4 #5A3FCD #8470D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##422BA4#FFFFFF#000000##FFFFFF
##422BA41.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)
#0046A8
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#014C65
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #422ba4;
/* rgb */ color: rgb(66, 43, 164);
/* oklch */ color: oklch(40.1% 0.182 283.2);
Tailwind
colors: {
  custom: {
    50: '#8267c0',
    500: '#422ba4',
    950: '#000000',
  },
}
SCSS
$custom: #422ba4;
$custom-light: #8267c0;
$custom-dark: #000000;
JSON
{
  "hex": "#422ba4",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 251.405,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40095,
    "c": 0.18206,
    "h": 283.2
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#422BA4
secondary
#B0C16A
accent
#E246C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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