#A0338A
A medium, moderate magenta closely aligning with Purple.
About #A0338A
The hex code #A0338A represents a beautifully specific shade of magenta. Its closest recognized web color is Purple. Its digital footprint relies on 160 parts red, 51 parts green, and 138 parts blue light.
When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 0% C, 68% M, 14% Y, and 37% K. The HSL representation is 312.1° hue, 51.7% saturation, and 41.4% lightness.
Ensuring your text is legible against this background is a key part of web design. To prevent eye strain, #FFFFFF text pairs best with this hex code. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.
Color Space Conversions
HEX#A0338A
RGB160, 51, 138
HSL312.1°, 51.7%, 41.4%
CMYK0%, 68%, 14%, 37%
HSV312.1°, 68.1%, 62.7%
LAB40.7, 54.3, -25.1
XYZ20.3, 11.7, 25.2
Decimal10498954
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
6.30:1
Text on #FFFFFF
AA
3.34:1
Text on #000000
AA Large
6.02:1
Text on #F8FAFC
AA
2.84:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #A0338A;
}
.text-color {
color: #A0338A;
}
.border-color {
border: 2px solid #A0338A;
}