#422BA2#422BA2

#422BA2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.180 H 283.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#422BA2
RGBrgb(66, 43, 162)
HSLhsl(252, 58%, 40%)
HSVhsv(252, 73%, 64%)
CMYKcmyk(59.3%, 73.5%, 0%, 36.5%)
CIE-LABlab(28.10, 43.02, -60.62)
CIE-LCHlch(28.10, 74.33, 305.36°)
OKLaboklab(39.9% 0.042 -0.1746)
OKLCHoklch(39.9% 0.18 283.5)
XYZxyz(9.6302, 5.4940, 34.7284)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422BA2 #8BA22B
analogous
#2B4FA2 #422BA2 #7E2BA2
triadic
#422BA2 #A2422B #2BA242
tetradic
#422BA2 #A22B4F #8BA22B #2BA27E
square
#422BA2 #A22B4F #8BA22B #2BA27E
split-complementary
#422BA2 #A27E2B #4FA22B
monochromatic
#1B1141 #2E1E72 #422BA2 #5A3ECC #836FD9

Accessibility & contrast

On white

10.00
#422BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#422BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422BA2
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422BA2#FFFFFF#000000##FFFFFF
##422BA21.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #422ba2;
/* rgb */ color: rgb(66, 43, 162);
/* oklch */ color: oklch(39.9% 0.180 283.5);
Tailwind
colors: {
  custom: {
    50: '#8267bf',
    500: '#422ba2',
    950: '#000000',
  },
}
SCSS
$custom: #422ba2;
$custom-light: #8267bf;
$custom-dark: #000000;
JSON
{
  "hex": "#422ba2",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 251.597,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.1796,
    "h": 283.5
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#422BA2
secondary
#AFC069
accent
#E147C3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #422BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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