#A2238E color

#A2238E rgb(162, 35, 142)
Shades of purple

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
RGBrgb(162, 35, 142)
RGB percentrgb(63.5%, 13.7%, 55.7%)
HSLhsl(309, 64%, 39%)
HSV / HSBhsv(309, 78%, 64%)
CMYKcmyk(0%, 78%, 12%, 36%)
CIE LABlab(39.31, 60.9, -29.68)
CIE LCHlch(39.31, 67.74, 334.02)
CIE XYZxyz(20.384, 10.838, 26.604)
Decimal10625934
Short hexNone (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 #A2238ERatioAAAAAAA large
Sample text3.17:1FailFailPass
Sample text6.63:1PassFailPass
#A2238E as text onRatioAAAAAAA large
Sample text6.63:1PassFailPass
Sample text3.17:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.