#7A40A5 color

#7A40A5 rgb(122, 64, 165)
Shades of purple

The hex color #7A40A5 is a desaturated violet.

In the RGB color model it is made of 47.8% red, 25.1% green and 64.7% blue (122, 64, 165).

Its hue angle is 274°, with 44% saturation and 45% lightness. For print, the CMYK equivalent is 26% cyan, 61% magenta, 0% yellow and 35% black.

The closest named color is Shredder Lavender (#7737AA), a difference of 2.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 6.77:1).

#7A40A5 color codes

HEX#7A40A5
RGBrgb(122, 64, 165)
RGB percentrgb(47.8%, 25.1%, 64.7%)
HSLhsl(274, 44%, 45%)
HSV / HSBhsv(274, 61%, 65%)
CMYKcmyk(26%, 61%, 0%, 35%)
CIE LABlab(38.76, 43.72, -44.82)
CIE LCHlch(38.76, 62.62, 314.29)
CIE XYZxyz(16.65, 10.521, 36.744)
Decimal8011941
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7A40A5, 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 #7A40A5RatioAAAAAAA large
Sample text3.1:1FailFailPass
Sample text6.77:1PassFailPass
#7A40A5 as text onRatioAAAAAAA large
Sample text6.77:1PassFailPass
Sample text3.1: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 #7A40A5 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7a40a5; }
.text { color: #7a40a5; }
.border { border: 2px solid #7a40a5; }
.transparent { background-color: rgb(122 64 165 / 50%); }
.gradient { background: linear-gradient(to right, #7a40a5, #a5409e); }
Background
Text color
Border

Similar colors

Questions

What color is #7A40A5?
#7A40A5 is a desaturated violet, closest to the named color Shredder Lavender. It belongs to the purple family of colors.
What is the RGB value of #7A40A5?
The RGB value is 122, 64, 165: 122 red, 64 green and 165 blue on a 0 to 255 scale.
What is the complementary color of #7A40A5?
The complementary color is #6BA540, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7A40A5?
White text. Black text has a contrast ratio of 3.1:1 and white text 6.77:1. WCAG asks for at least 4.5:1 for normal text.