#7F4A7A color

#7F4A7A rgb(127, 74, 122)
Shades of purple

The hex color #7F4A7A is a desaturated magenta.

In the RGB color model it is made of 49.8% red, 29% green and 47.8% blue (127, 74, 122).

Its hue angle is 306°, with 26% saturation and 39% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 4% yellow and 50% black.

The closest named color is Magic Magenta (#7F4774), a difference of 1.6 ΔE, which is barely visible.

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

#7F4A7A color codes

HEX#7F4A7A
RGBrgb(127, 74, 122)
RGB percentrgb(49.8%, 29%, 47.8%)
HSLhsl(306, 26%, 39%)
HSV / HSBhsv(306, 42%, 50%)
CMYKcmyk(0%, 42%, 4%, 50%)
CIE LABlab(39.27, 30.25, -17.87)
CIE LCHlch(39.27, 35.13, 329.43)
CIE XYZxyz(14.714, 10.815, 19.721)
Decimal8342138
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7f4a7a; }
.text { color: #7f4a7a; }
.border { border: 2px solid #7f4a7a; }
.transparent { background-color: rgb(127 74 122 / 50%); }
.gradient { background: linear-gradient(to right, #7f4a7a, #7f4a60); }
Background
Text color
Border

Similar colors

Questions

What color is #7F4A7A?
#7F4A7A is a desaturated magenta, closest to the named color Magic Magenta. It belongs to the purple family of colors.
What is the RGB value of #7F4A7A?
The RGB value is 127, 74, 122: 127 red, 74 green and 122 blue on a 0 to 255 scale.
What is the complementary color of #7F4A7A?
The complementary color is #4A7F4F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F4A7A?
White text. Black text has a contrast ratio of 3.16:1 and white text 6.64:1. WCAG asks for at least 4.5:1 for normal text.