#422AB8#422AB8

#422AB8 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.0% C 0.207 H 280.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#422AB8
RGBrgb(66, 42, 184)
HSLhsl(250, 63%, 44%)
HSVhsv(250, 77%, 72%)
CMYKcmyk(64.1%, 77.2%, 0%, 27.8%)
CIE-LABlab(30.09, 50.21, -70.52)
CIE-LCHlch(30.09, 86.57, 305.45°)
OKLaboklab(41.96% 0.0373 -0.2035)
OKLCHoklch(41.96% 0.207 280.4)
XYZxyz(11.7237, 6.2740, 45.9313)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422AB8 #A0B82A
analogous
#2A59B8 #422AB8 #892AB8
triadic
#422AB8 #B8422A #2AB842
tetradic
#422AB8 #B82A59 #A0B82A #2AB889
square
#422AB8 #B82A59 #A0B82A #2AB889
split-complementary
#422AB8 #B8892A #59B82A
monochromatic
#1E1354 #301F86 #422AB8 #614AD6 #8D7BE1

Accessibility & contrast

On white

9.31
#422AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#422AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422AB8
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422AB8#FFFFFF#000000##FFFFFF
##422AB81.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #422ab8;
/* rgb */ color: rgb(66, 42, 184);
/* oklch */ color: oklch(42.0% 0.207 280.4);
Tailwind
colors: {
  custom: {
    50: '#8667cf',
    500: '#422ab8',
    950: '#000000',
  },
}
SCSS
$custom: #422ab8;
$custom-light: #8667cf;
$custom-dark: #000000;
JSON
{
  "hex": "#422ab8",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 250.141,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41963,
    "c": 0.20694,
    "h": 280.4
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#422AB8
secondary
#BBC975
accent
#E642CA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #422AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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