#A42AA4#A42AA4

#A42AA4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.206 H 328.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A42AA4
RGBrgb(164, 42, 164)
HSLhsl(300, 59%, 40%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0%, 74.4%, 0%, 35.7%)
CIE-LABlab(41.58, 62.66, -39.37)
CIE-LCHlch(41.58, 74.00, 327.86°)
OKLaboklab(52.36% 0.1748 -0.1091)
OKLCHoklch(52.36% 0.206 328)
XYZxyz(22.8384, 12.2304, 36.2726)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA4 #2AA42A
analogous
#672AA4 #A42AA4 #A42A67
triadic
#A42AA4 #A4A42A #2AA4A4
tetradic
#A42AA4 #A4672A #2AA42A #2A67A4
square
#A42AA4 #A4672A #2AA42A #2A67A4
split-complementary
#A42AA4 #67A42A #2AA467
monochromatic
#431143 #731E73 #A42AA4 #CD3ECD #DA6EDA

Accessibility & contrast

On white

6.09
#A42AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A42AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AA4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA4#FFFFFF#000000##FFFFFF
##A42AA41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#A93D65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42aa4;
/* rgb */ color: rgb(164, 42, 164);
/* oklch */ color: oklch(52.4% 0.206 328.0);
Tailwind
colors: {
  custom: {
    50: '#c371bf',
    500: '#a42aa4',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa4;
$custom-light: #c371bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa4",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 300,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52359,
    "c": 0.20609,
    "h": 328
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#A42AA4
secondary
#69C169
accent
#E24545
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A42AA4

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

Preview Lab → · Contrast checker → · Palette generator →

#A42AA4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva