#422BAA#422BAA

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

Color values

HEX#422BAA
RGBrgb(66, 43, 170)
HSLhsl(251, 60%, 42%)
HSVhsv(251, 75%, 67%)
CMYKcmyk(61.2%, 74.7%, 0%, 33.3%)
CIE-LABlab(28.87, 45.47, -64.18)
CIE-LCHlch(28.87, 78.65, 305.32°)
OKLaboklab(40.68% 0.0402 -0.185)
OKLCHoklch(40.68% 0.189 282.2)
XYZxyz(10.3641, 5.7876, 38.5934)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422BAA #93AA2B
analogous
#2B54AA #422BAA #822BAA
triadic
#422BAA #AA422B #2BAA42
tetradic
#422BAA #AA2B54 #93AA2B #2BAA82
square
#422BAA #AA2B54 #93AA2B #2BAA82
split-complementary
#422BAA #AA822B #54AA2B
monochromatic
#1C1248 #2F1F79 #422BAA #5C43CF #8774DC

Accessibility & contrast

On white

9.73
#422BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#422BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422BAA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422BAA#FFFFFF#000000##FFFFFF
##422BAA1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #422baa;
/* rgb */ color: rgb(66, 43, 170);
/* oklch */ color: oklch(40.7% 0.189 282.2);
Tailwind
colors: {
  custom: {
    50: '#8367c4',
    500: '#422baa',
    950: '#000000',
  },
}
SCSS
$custom: #422baa;
$custom-light: #8367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#422baa",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 250.866,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.18935,
    "h": 282.2
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#422BAA
secondary
#B4C36E
accent
#E345C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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