#422AB2#422AB2

#422AB2 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.200 H 281.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#422AB2
RGBrgb(66, 42, 178)
HSLhsl(251, 62%, 43%)
HSVhsv(251, 76%, 70%)
CMYKcmyk(62.9%, 76.4%, 0%, 30.2%)
CIE-LABlab(29.48, 48.41, -67.96)
CIE-LCHlch(29.48, 83.44, 305.46°)
OKLaboklab(41.35% 0.0388 -0.1961)
OKLCHoklch(41.35% 0.2 281.2)
XYZxyz(11.1081, 6.0277, 42.6890)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AB2 #9AB22A
analogous
#2A56B2 #422AB2 #862AB2
triadic
#422AB2 #B2422A #2AB242
tetradic
#422AB2 #B22A56 #9AB22A #2AB286
square
#422AB2 #B22A56 #9AB22A #2AB286
split-complementary
#422AB2 #B2862A #56B22A
monochromatic
#1D134F #301E80 #422AB2 #5F46D3 #8A77DF

Accessibility & contrast

On white

9.52
#422AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#422AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AB2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AB2#FFFFFF#000000##FFFFFF
##422AB21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #422ab2;
/* rgb */ color: rgb(66, 42, 178);
/* oklch */ color: oklch(41.4% 0.200 281.2);
Tailwind
colors: {
  custom: {
    50: '#8567ca',
    500: '#422ab2',
    950: '#000000',
  },
}
SCSS
$custom: #422ab2;
$custom-light: #8567ca;
$custom-dark: #000000;
JSON
{
  "hex": "#422ab2",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 250.588,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41352,
    "c": 0.19989,
    "h": 281.2
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#422AB2
secondary
#B8C771
accent
#E543C8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #422AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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