#A42A91#A42A91

#A42A91 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.192 H 335.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A42A91
RGBrgb(164, 42, 145)
HSLhsl(309, 59%, 40%)
HSVhsv(309, 74%, 64%)
CMYKcmyk(0%, 74.4%, 11.6%, 35.7%)
CIE-LABlab(40.56, 59.65, -29.51)
CIE-LCHlch(40.56, 66.55, 333.68°)
OKLaboklab(51.3% 0.1742 -0.0806)
OKLCHoklch(51.3% 0.192 335.2)
XYZxyz(21.2489, 11.5947, 27.9015)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A91 #2AA43D
analogous
#7A2AA4 #A42A91 #A42A54
triadic
#A42A91 #91A42A #2A91A4
tetradic
#A42A91 #A47A2A #2AA43D #2A54A4
square
#A42A91 #A47A2A #2AA43D #2A54A4
split-complementary
#A42A91 #54A42A #2AA47A
monochromatic
#43113B #731E66 #A42A91 #CD3EB7 #DA6EC9

Accessibility & contrast

On white

6.33
#A42A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A42A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A91
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A91#FFFFFF#000000##FFFFFF
##A42A911.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#AC345B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42a91;
/* rgb */ color: rgb(164, 42, 145);
/* oklch */ color: oklch(51.3% 0.192 335.2);
Tailwind
colors: {
  custom: {
    50: '#c370b1',
    500: '#a42a91',
    950: '#000000',
  },
}
SCSS
$custom: #a42a91;
$custom-light: #c370b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a91",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 309.344,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.19191,
    "h": 335.2
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#A42A91
secondary
#69C177
accent
#E25E45
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42A91

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

Preview Lab → · Contrast checker → · Palette generator →

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