#A42A90#A42A90

#A42A90 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.191 H 335.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A42A90
RGBrgb(164, 42, 144)
HSLhsl(310, 59%, 40%)
HSVhsv(310, 74%, 64%)
CMYKcmyk(0%, 74.4%, 12.2%, 35.7%)
CIE-LABlab(40.51, 59.50, -28.98)
CIE-LCHlch(40.51, 66.18, 334.03°)
OKLaboklab(51.25% 0.1741 -0.0791)
OKLCHoklch(51.25% 0.191 335.6)
XYZxyz(21.1721, 11.5640, 27.4972)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A90 #2AA43E
analogous
#7B2AA4 #A42A90 #A42A53
triadic
#A42A90 #90A42A #2A90A4
tetradic
#A42A90 #A47B2A #2AA43E #2A53A4
square
#A42A90 #A47B2A #2AA43E #2A53A4
split-complementary
#A42A90 #53A42A #2AA47B
monochromatic
#43113A #731E65 #A42A90 #CD3EB6 #DA6EC8

Accessibility & contrast

On white

6.34
#A42A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A90
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A90#FFFFFF#000000##FFFFFF
##A42A901.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#56668D
Tritanopia (blue-blind)
#AC335A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42a90;
/* rgb */ color: rgb(164, 42, 144);
/* oklch */ color: oklch(51.2% 0.191 335.6);
Tailwind
colors: {
  custom: {
    50: '#c370b1',
    500: '#a42a90',
    950: '#000000',
  },
}
SCSS
$custom: #a42a90;
$custom-light: #c370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a90",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 309.836,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51249,
    "c": 0.19119,
    "h": 335.6
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

primary
#A42A90
secondary
#69C177
accent
#E25F45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42A90

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

Preview Lab → · Contrast checker → · Palette generator →

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