#A42291#A42291

#A42291 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.200 H 335.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A42291
RGBrgb(164, 34, 145)
HSLhsl(309, 66%, 39%)
HSVhsv(309, 79%, 64%)
CMYKcmyk(0%, 79.3%, 11.6%, 35.7%)
CIE-LABlab(39.72, 62.07, -30.84)
CIE-LCHlch(39.72, 69.31, 333.58°)
OKLaboklab(50.7% 0.1813 -0.0844)
OKLCHoklch(50.7% 0.2 335)
XYZxyz(20.9930, 11.0828, 27.8162)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42291 #22A435
analogous
#7622A4 #A42291 #A42250
triadic
#A42291 #91A422 #2291A4
tetradic
#A42291 #A47622 #22A435 #2250A4
square
#A42291 #A47622 #22A435 #2250A4
split-complementary
#A42291 #50A422 #22A476
monochromatic
#3F0D37 #711764 #A42291 #D42FBC #DE62CC

Accessibility & contrast

On white

6.53
#A42291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A42291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42291
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42291#FFFFFF#000000##FFFFFF
##A422911.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215194
Deuteranopia (green-blind)
#53648E
Tritanopia (blue-blind)
#AC2E59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42291;
/* rgb */ color: rgb(164, 34, 145);
/* oklch */ color: oklch(50.7% 0.200 335.0);
Tailwind
colors: {
  custom: {
    50: '#c36db1',
    500: '#a42291',
    950: '#000000',
  },
}
SCSS
$custom: #a42291;
$custom-light: #c36db1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42291",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 308.769,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50695,
    "c": 0.19998,
    "h": 335
  },
  "luminance": 0.11081
}

Semantic roles & 50–950 ramp

primary
#A42291
secondary
#5EC46D
accent
#E9583F
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A42291

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

Preview Lab → · Contrast checker → · Palette generator →

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