#A31AA5 color
The hex color #A31AA5 is a dark, moderate magenta.
In the RGB color model it is made of 63.9% red, 10.2% green and 64.7% blue (163, 26, 165).
Its hue angle is 299°, with 73% saturation and 37% lightness. For print, the CMYK equivalent is 1% cyan, 84% magenta, 0% yellow and 35% black.
The closest named color is Magentle (#AA11AA), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.46:1).
#A31AA5 color codes
| HEX | #A31AA5 | |
|---|---|---|
| RGB | rgb(163, 26, 165) | |
| RGB percent | rgb(63.9%, 10.2%, 64.7%) | |
| HSL | hsl(299, 73%, 37%) | |
| HSV / HSB | hsv(299, 84%, 65%) | |
| CMYK | cmyk(1%, 84%, 0%, 35%) | |
| CIE LAB | lab(39.99, 66.9, -42.51) | |
| CIE LCH | lch(39.99, 79.26, 327.56) | |
| CIE XYZ | xyz(22.265, 11.244, 36.588) | |
| Decimal | 10689189 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A31AA5, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #A31AA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.25:1 | Fail | Fail | Pass |
| Sample text | 6.46:1 | Pass | Fail | Pass |
| #A31AA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.46:1 | Pass | Fail | Pass |
| Sample text | 3.25:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #A31AA5 looks to people with the most common types of color vision deficiency.
#0053a8Protanopia
no red cones#4464a2Deuteranopia
no green cones#a83662Tritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #a31aa5; }
.text { color: #a31aa5; }
.border { border: 2px solid #a31aa5; }
.transparent { background-color: rgb(163 26 165 / 50%); }
.gradient { background: linear-gradient(to right, #a31aa5, #a51a61); }
Similar colors
#aa11aaMagentle#9a2ca0Purple Ink#aa22bbMagentleman#bb00aaPurple Pirate#952e8fWarm Purple#bb11aaPunk Rock Purple#a104c3Nebula#bb22aaAmora Purple
Closest common color name: Dark Magenta.
Questions
- What color is #A31AA5?
- #A31AA5 is a dark, moderate magenta, closest to the named color Magentle. It belongs to the purple family of colors.
- What is the RGB value of #A31AA5?
- The RGB value is 163, 26, 165: 163 red, 26 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #A31AA5?
- The complementary color is #1CA51A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A31AA5?
- White text. Black text has a contrast ratio of 3.25:1 and white text 6.46:1. WCAG asks for at least 4.5:1 for normal text.