What is hex #AA2AAA color?

 
The hex code #AA2AAA is closest to the named color Byzantine (#BD33A4).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 67% red, 16% green and 67% blue, resulting in rgb(170, 42, 170) and hsl(300, 60%, 42%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 75%, 0%, 33%).
In the HSV/HSB scale, #AA2AAA features a hue of 300°, 75% saturation, and 67% brightness.

Hex #AA2AAA Color Codes & Conversions

Closest Named Color
Byzantine (#BD33A4)
Hex Code #AA2AAA
Hex8 (RGBA Hex) #AA2AAAFF
RGB (CSS) rgb(170, 42, 170)
RGBA (CSS) rgba(170, 42, 170, 1)
HSL (CSS) hsl(300, 60%, 42%)
HSLA (CSS) hsla(300, 60%, 42%, 1)
HSV / HSB (300°, 75%, 67%)
CMYK Values (0%, 75%, 0%, 33%)
OKLCH (Modern CSS) oklch(53.6% 0.214 328.1)
CIE-LAB (D65) 42.92, 64.93, -40.75
CIE XYZ 24.66, 13.11, 39.25
Decimal / Binary 11152042
10101010 00101010 10101010

Closest Standards & Equivalents

Closest Web Safe
#993399
Inverse Color
#55D555
Complementary Color
#2AAA2A
Closest Pantone®
Pantone 253 C
Closest RAL
RAL 4006 [Traffic purple]

#AA2AAA Grayscale Equivalents

Average
#7F7F7F
Lightness (Desaturation)
#6A6A6A
Weighted (BT601)
#5F5F5F
Luma (BT709)
#4E4E4E

WCAG 2.1 Color Contrast & Accessibility

Check how #AA2AAA complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #AA2AAA

Sample preview of readable typography on top of #AA2AAA.

Contrast Ratio: 5.8:1
AA Pass AAA Fail

Black Text on #AA2AAA

Sample preview of readable typography on top of #AA2AAA.

Contrast Ratio: 3.62:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #AA2AAA

Preview #AA2AAA in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #AA2AAA;
Typography Color Preview
color: #AA2AAA;
Border & Shadow Preview
border: 2px solid #AA2AAA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #AA2AAA;
  --color-primary-rgb: 170, 42, 170;
  --color-complementary: #2AAA2A;
}
.btn-accent {
  background-color: #AA2AAA;
  color: #ffffff;
}

Hex #AA2AAA Color Palettes

Complementary Palette

The complementary color of #AA2AAA is #2AAA2A. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #AA2AAA pairs with #6A2AAA and #AA2A6A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #AA2AAA pairs with #2AAA6A and #6AAA2A, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #AA2AAA uses #2AAAAA and #AAAA2A, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #AA2AAA combines #AAAA2A, #2AAA2A and #2A2AAA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #AA2AAA pairs with #AA6A2A, #2AAA2A and #2A6AAA spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #AA2AAA

Tints

Tints are created by mixing #AA2AAA with white, producing lighter variations.

Tones

Tones are created by mixing #AA2AAA with gray, softening saturation.

Shades

Shades result from mixing #AA2AAA with black, creating deeper variations.

Hex #AA2AAA in Programming & CSS Frameworks

Copy the exact syntax for #AA2AAA in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #AA2AAA
Tailwind CSS bg-[#AA2AAA] text-[#AA2AAA]
Java (AWT) new Color(170,42,170);
Python Color("#AA2AAA")
.NET (C#) Color.FromArgb(255, 170,42,170);
Swift / iOS UIColor(red: 0.67, green: 0.16, blue: 0.67, alpha: 1)
Kotlin / Android Color.rgb(170, 42, 170)