#422C84#422C84

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

Color values

HEX#422C84
RGBrgb(66, 44, 132)
HSLhsl(255, 50%, 35%)
HSVhsv(255, 67%, 52%)
CMYKcmyk(50%, 66.7%, 0%, 48.2%)
CIE-LABlab(25.64, 33.16, -46.16)
CIE-LCHlch(25.64, 56.83, 305.70°)
OKLaboklab(37.32% 0.0463 -0.1322)
OKLCHoklch(37.32% 0.14 289.3)
XYZxyz(7.3111, 4.6253, 22.3329)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#422C84 #6E842C
analogous
#2C4284 #422C84 #6E2C84
triadic
#422C84 #84422C #2C8442
tetradic
#422C84 #842C42 #6E842C #2C846E
square
#422C84 #842C42 #6E842C #2C846E
split-complementary
#422C84 #846E2C #42842C
monochromatic
#140D28 #2B1D56 #422C84 #593BB2 #7B60CA

Accessibility & contrast

On white

10.91
#422C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#422C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #422C84
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##422C84#FFFFFF#000000##FFFFFF
##422C841.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#2C4154
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #422c84;
/* rgb */ color: rgb(66, 44, 132);
/* oklch */ color: oklch(37.3% 0.140 289.3);
Tailwind
colors: {
  custom: {
    50: '#7d66a8',
    500: '#422c84',
    950: '#000000',
  },
}
SCSS
$custom: #422c84;
$custom-light: #7d66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#422c84",
  "rgb": {
    "r": 66,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 255,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.14008,
    "h": 289.3
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#422C84
secondary
#9BB05C
accent
#DA4EB7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #422C84

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

Preview Lab → · Contrast checker → · Palette generator →

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