#A42A9C#A42A9C

#A42A9C is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.9% C 0.200 H 330.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A42A9C
RGBrgb(164, 42, 156)
HSLhsl(304, 59%, 40%)
HSVhsv(304, 74%, 64%)
CMYKcmyk(0%, 74.4%, 4.9%, 35.7%)
CIE-LABlab(41.14, 61.36, -35.27)
CIE-LCHlch(41.14, 70.77, 330.11°)
OKLaboklab(51.9% 0.1748 -0.0972)
OKLCHoklch(51.9% 0.2 330.9)
XYZxyz(22.1385, 11.9505, 32.5867)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A9C #2AA432
analogous
#6F2AA4 #A42A9C #A42A5F
triadic
#A42A9C #9CA42A #2A9CA4
tetradic
#A42A9C #A46F2A #2AA432 #2A5FA4
square
#A42A9C #A46F2A #2AA432 #2A5FA4
split-complementary
#A42A9C #5FA42A #2AA46F
monochromatic
#43113F #731E6E #A42A9C #CD3EC4 #DA6ED3

Accessibility & contrast

On white

6.20
#A42A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A42A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A9C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A9C#FFFFFF#000000##FFFFFF
##A42A9C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E569F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#AB3961
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a42a9c;
/* rgb */ color: rgb(164, 42, 156);
/* oklch */ color: oklch(51.9% 0.200 330.9);
Tailwind
colors: {
  custom: {
    50: '#c371b9',
    500: '#a42a9c',
    950: '#000000',
  },
}
SCSS
$custom: #a42a9c;
$custom-light: #c371b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a9c",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 303.934,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51899,
    "c": 0.19999,
    "h": 330.9
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#A42A9C
secondary
#69C16F
accent
#E25045
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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