#A42AA1#A42AA1

#A42AA1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.204 H 329.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A42AA1
RGBrgb(164, 42, 161)
HSLhsl(301, 59%, 40%)
HSVhsv(301, 74%, 64%)
CMYKcmyk(0%, 74.4%, 1.8%, 35.7%)
CIE-LABlab(41.41, 62.16, -37.84)
CIE-LCHlch(41.41, 72.77, 328.67°)
OKLaboklab(52.18% 0.1749 -0.1047)
OKLCHoklch(52.18% 0.204 329.1)
XYZxyz(22.5706, 12.1234, 34.8626)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42AA1 #2AA42D
analogous
#6A2AA4 #A42AA1 #A42A64
triadic
#A42AA1 #A1A42A #2AA1A4
tetradic
#A42AA1 #A46A2A #2AA42D #2A64A4
square
#A42AA1 #A46A2A #2AA42D #2A64A4
split-complementary
#A42AA1 #64A42A #2AA46A
monochromatic
#431141 #731E71 #A42AA1 #CD3ECA #DA6ED7

Accessibility & contrast

On white

6.13
#A42AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42AA1
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42AA1#FFFFFF#000000##FFFFFF
##A42AA11.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1657A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#AA3C63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a42aa1;
/* rgb */ color: rgb(164, 42, 161);
/* oklch */ color: oklch(52.2% 0.204 329.1);
Tailwind
colors: {
  custom: {
    50: '#c371bd',
    500: '#a42aa1',
    950: '#000000',
  },
}
SCSS
$custom: #a42aa1;
$custom-light: #c371bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a42aa1",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 301.475,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.20378,
    "h": 329.1
  },
  "luminance": 0.12122
}

Semantic roles & 50–950 ramp

primary
#A42AA1
secondary
#69C16B
accent
#E24945
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A42AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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