#7A0052 Color Information

Hex color code: #7A0052

#7A0052 is a dramatic magenta color. In RGB it is (122, 0, 82), and in HSL it is (320°, 100%, 24%). It is typically applied in digital products.

Try:
Color NamePurple
HEX
#7A0052
RGB
122, 0, 82
HSL
320°, 100%, 24%
CMYK
0%, 100%, 33%, 52%

Shades

CSS Usage
color: #7A0052;
background-color: #7A0052;
border-color: #7A0052;
box-shadow: 0 0 10px #7A0052;
border: 2px solid #7A0052;
Tailwind Usage
bg-[#7A0052]
text-[#7A0052]
border-[#7A0052]
shadow-[0_0_10px_7A0052]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #7A0052, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #7A0052; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #7A0052; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #7A0052; background-color: #7A005215; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #7A005220; border-left: 4px solid #7A0052; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #7A0052; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #7A0052 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

122, 0, 82

Red: 122 / Green: 0 / Blue: 82

HSL

320°, 100%, 24%

Hue: 320° / Saturation: 100% / Lightness: 24%

CMYK

0%, 100%, 33%, 52%

Cyan: 0% / Magenta: 100% / Yellow: 33% / Key: 52%

What color is #7A0052?

#7A0052 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #7A0052 to RGB:

rgb(122, 0, 82)HEX to RGB Converter →

HEX to HSL

Convert #7A0052 to HSL:

hsl(320, 100%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #7A0052 to CMYK:

cmyk(0%, 100%, 33%, 52%)Color Converter →

Color Meaning and Usage

#7A0052 is a intense magenta color with RGB values of 122, 0, 82 and HSL of 320°, 100%, 24%. This highly saturated hue evokes energy and excitement, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #7A0052 is #007A29, creating high-contrast pairings. For softer combinations, try analogous colors like #66007A.

Use #7A0052 in CSS: color: #7A0052 or background-color: #7A0052. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #7A0052

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.95:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #7A0052?

#7A0052 is a intense magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #7A0052?

#7A0052 in RGB is (122, 0, 82) - 122 red, 0 green, and 82 blue.

How to use #7A0052 in CSS?

Use #7A0052 directly in your CSS properties like color or background-color.

What colors go well with #7A0052?

#007A29 (complementary), #66007A (analogous), and #2E001F (lighter shade) work well with #7A0052.