#A2238E color
The hex color #A2238E is a moderate magenta.
In the RGB color model it is made of 63.5% red, 13.7% green and 55.7% blue (162, 35, 142).
Its hue angle is 309°, with 64% saturation and 39% lightness. For print, the CMYK equivalent is 0% cyan, 78% magenta, 12% yellow and 36% black.
The closest named color is Warm Purple (#952E8F), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.63:1).
#A2238E color codes
| HEX | #A2238E | |
|---|---|---|
| RGB | rgb(162, 35, 142) | |
| RGB percent | rgb(63.5%, 13.7%, 55.7%) | |
| HSL | hsl(309, 64%, 39%) | |
| HSV / HSB | hsv(309, 78%, 64%) | |
| CMYK | cmyk(0%, 78%, 12%, 36%) | |
| CIE LAB | lab(39.31, 60.9, -29.68) | |
| CIE LCH | lch(39.31, 67.74, 334.02) | |
| CIE XYZ | xyz(20.384, 10.838, 26.604) | |
| Decimal | 10625934 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A2238E, 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 #A2238E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.63:1 | Pass | Fail | Pass |
| #A2238E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.63:1 | Pass | Fail | Pass |
| Sample text | 3.17: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 #A2238E looks to people with the most common types of color vision deficiency.
#245191Protanopia
no red cones#53638bDeuteranopia
no green cones#aa2e57Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #a2238e; }
.text { color: #a2238e; }
.border { border: 2px solid #a2238e; }
.transparent { background-color: rgb(162 35 142 / 50%); }
.gradient { background: linear-gradient(to right, #a2238e, #a2234e); }
Similar colors
#952e8fWarm Purple#943589Purple Excellency#9a2ca0Purple Ink#bb0099Jealous Jellyfish#991177Haunted Purple#aa11aaMagentle#990077Persian Luxury Purple#bb0088Vibrant Velvet
Closest common color name: Plum.
Questions
- What color is #A2238E?
- #A2238E is a moderate magenta, closest to the named color Warm Purple. It belongs to the purple family of colors.
- What is the RGB value of #A2238E?
- The RGB value is 162, 35, 142: 162 red, 35 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #A2238E?
- The complementary color is #23A237, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A2238E?
- White text. Black text has a contrast ratio of 3.17:1 and white text 6.63:1. WCAG asks for at least 4.5:1 for normal text.