#52007A Color Information

Hex color code: #52007A

#52007A is a dark purple color. In RGB it is (82, 0, 122), and in HSL it is (280°, 100%, 24%). It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#52007A
RGB
82, 0, 122
HSL
280°, 100%, 24%
CMYK
33%, 100%, 0%, 52%

Shades

CSS Usage
color: #52007A;
background-color: #52007A;
border-color: #52007A;
box-shadow: 0 0 10px #52007A;
border: 2px solid #52007A;
Tailwind Usage
bg-[#52007A]
text-[#52007A]
border-[#52007A]
shadow-[0_0_10px_52007A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #52007A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #52007A; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #52007A; 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 #52007A; background-color: #52007A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #52007A20; border-left: 4px solid #52007A; }

Link / Accent

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

a { color: #52007A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #52007A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 0, 122

Red: 82 / Green: 0 / Blue: 122

HSL

280°, 100%, 24%

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

CMYK

33%, 100%, 0%, 52%

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

What color is #52007A?

#52007A is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #52007A to RGB:

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

HEX to HSL

Convert #52007A to HSL:

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

HEX to CMYK

Convert #52007A to CMYK:

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

Color Meaning and Usage

A dark purple tone, #52007A has RGB (82, 0, 122) and HSL (280°, 100%, 24%). Known for evoking energy and excitement, this highly saturated hue is popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #52007A is #297A00, creating high-contrast pairings. For softer combinations, try analogous colors like #14007A.

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

Contrast with #52007A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #52007A?

#52007A is a dark purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #52007A?

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

How to use #52007A in CSS?

Use #52007A directly in your CSS properties like color or background-color.

What colors go well with #52007A?

#297A00 (complementary), #14007A (analogous), and #1F002E (lighter shade) work well with #52007A.