#422B8A#422B8A

#422B8A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.7% C 0.149 H 288.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#422B8A
RGBrgb(66, 43, 138)
HSLhsl(255, 52%, 35%)
HSVhsv(255, 69%, 54%)
CMYKcmyk(52.2%, 68.8%, 0%, 45.9%)
CIE-LABlab(25.92, 35.61, -49.44)
CIE-LCHlch(25.92, 60.93, 305.77°)
OKLaboklab(37.68% 0.0466 -0.1418)
OKLCHoklch(37.68% 0.149 288.2)
XYZxyz(7.6967, 4.7206, 24.5454)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422B8A #738A2B
analogous
#2B448A #422B8A #712B8A
triadic
#422B8A #8A422B #2B8A42
tetradic
#422B8A #8A2B44 #738A2B #2B8A71
square
#422B8A #8A2B44 #738A2B #2B8A71
split-complementary
#422B8A #8A712B #448A2B
monochromatic
#150E2D #2C1C5B #422B8A #583AB9 #7C61CE

Accessibility & contrast

On white

10.80
#422B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#422B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422B8A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422B8A#FFFFFF#000000##FFFFFF
##422B8A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#284357
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422b8a;
/* rgb */ color: rgb(66, 43, 138);
/* oklch */ color: oklch(37.7% 0.149 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e66ad',
    500: '#422b8a',
    950: '#000000',
  },
}
SCSS
$custom: #422b8a;
$custom-light: #7e66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#422b8a",
  "rgb": {
    "r": 66,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 254.526,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37681,
    "c": 0.1493,
    "h": 288.2
  },
  "luminance": 0.04721
}

Semantic roles & 50–950 ramp

primary
#422B8A
secondary
#9FB45D
accent
#DC4CB9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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