#A42AA0#A42AA0

#A42AA0 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.203 H 329.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A42AA0
RGBrgb(164, 42, 160)
HSLhsl(302, 59%, 40%)
HSVhsv(302, 74%, 64%)
CMYKcmyk(0%, 74.4%, 2.4%, 35.7%)
CIE-LABlab(41.36, 62.00, -37.33)
CIE-LCHlch(41.36, 72.37, 328.95°)
OKLaboklab(52.13% 0.1748 -0.1032)
OKLCHoklch(52.13% 0.203 329.5)
XYZxyz(22.4828, 12.0882, 34.4000)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA0 #2AA42E
analogous
#6B2AA4 #A42AA0 #A42A63
triadic
#A42AA0 #A0A42A #2AA0A4
tetradic
#A42AA0 #A46B2A #2AA42E #2A63A4
square
#A42AA0 #A46B2A #2AA42E #2A63A4
split-complementary
#A42AA0 #63A42A #2AA46B
monochromatic
#431141 #731E70 #A42AA0 #CD3EC9 #DA6ED6

Accessibility & contrast

On white

6.15
#A42AA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A42AA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42AA0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA0#FFFFFF#000000##FFFFFF
##A42AA01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1857A3
Deuteranopia (green-blind)
#4E679D
Tritanopia (blue-blind)
#AA3B63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42aa0;
/* rgb */ color: rgb(164, 42, 160);
/* oklch */ color: oklch(52.1% 0.203 329.5);
Tailwind
colors: {
  custom: {
    50: '#c371bc',
    500: '#a42aa0',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa0;
$custom-light: #c371bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa0",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 301.967,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.20302,
    "h": 329.5
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#A42AA0
secondary
#69C16C
accent
#E24B45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A42AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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