#7A1582 color

#7A1582 rgb(122, 21, 130)
Shades of purple

The hex color #7A1582 is a dark, moderate magenta.

In the RGB color model it is made of 47.8% red, 8.2% green and 51% blue (122, 21, 130).

Its hue angle is 296°, with 72% saturation and 30% lightness. For print, the CMYK equivalent is 6% cyan, 84% magenta, 0% yellow and 49% black.

The closest named color is Purple (#800080), a difference of 1.7 ΔE, which is barely visible.

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

#7A1582 color codes

HEX#7A1582
RGBrgb(122, 21, 130)
RGB percentrgb(47.8%, 8.2%, 51%)
HSLhsl(296, 72%, 30%)
HSV / HSBhsv(296, 84%, 51%)
CMYKcmyk(6%, 84%, 0%, 49%)
CIE LABlab(30.12, 54.25, -37.26)
CIE LCHlch(30.12, 65.82, 325.52)
CIE XYZxyz(12.323, 6.286, 21.679)
Decimal8000898
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7A1582, 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 #7A1582RatioAAAAAAA large
Sample text2.26:1FailFailFail
Sample text9.3:1PassPassPass
#7A1582 as text onRatioAAAAAAA large
Sample text9.3:1PassPassPass
Sample text2.26:1FailFailFail

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 #7A1582 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7a1582; }
.text { color: #7a1582; }
.border { border: 2px solid #7a1582; }
.transparent { background-color: rgb(122 21 130 / 50%); }
.gradient { background: linear-gradient(to right, #7a1582, #821554); }
Background
Text color
Border

Similar colors

Questions

What color is #7A1582?
#7A1582 is a dark, moderate magenta, closest to the named color Purple. It belongs to the purple family of colors.
What is the RGB value of #7A1582?
The RGB value is 122, 21, 130: 122 red, 21 green and 130 blue on a 0 to 255 scale.
What is the complementary color of #7A1582?
The complementary color is #1D8215, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7A1582?
White text. Black text has a contrast ratio of 2.26:1 and white text 9.3:1. WCAG asks for at least 4.5:1 for normal text.