#422A87#422A87

#422A87 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.147 H 289.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#422A87
RGBrgb(66, 42, 135)
HSLhsl(255, 53%, 35%)
HSVhsv(255, 69%, 53%)
CMYKcmyk(51.1%, 68.9%, 0%, 47.1%)
CIE-LABlab(25.45, 35.28, -48.34)
CIE-LCHlch(25.45, 59.84, 306.12°)
OKLaboklab(37.26% 0.0481 -0.1386)
OKLCHoklch(37.26% 0.147 289.1)
XYZxyz(7.4466, 4.5631, 23.4054)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422A87 #6F872A
analogous
#2A4187 #422A87 #712A87
triadic
#422A87 #87422A #2A8742
tetradic
#422A87 #872A41 #6F872A #2A8771
square
#422A87 #872A41 #6F872A #2A8771
split-complementary
#422A87 #87712A #41872A
monochromatic
#140D2A #2B1B58 #422A87 #5939B6 #7B5ECD

Accessibility & contrast

On white

10.98
#422A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#422A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422A87
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422A87#FFFFFF#000000##FFFFFF
##422A871.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#2A4155
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #422a87;
/* rgb */ color: rgb(66, 42, 135);
/* oklch */ color: oklch(37.3% 0.147 289.1);
Tailwind
colors: {
  custom: {
    50: '#7d65ab',
    500: '#422a87',
    950: '#000000',
  },
}
SCSS
$custom: #422a87;
$custom-light: #7d65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#422a87",
  "rgb": {
    "r": 66,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 255.484,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.14671,
    "h": 289.1
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#422A87
secondary
#9CB35A
accent
#DC4CB7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422A87

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

Preview Lab → · Contrast checker → · Palette generator →

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