#5200CC Color Information

Hex color code: #5200CC

The hex color #5200CC is a vivid purple with RGB values of (82, 0, 204) and HSL of (264°, 100%, 40%). It is commonly used in modern UI design.

Try:
Color NameDark Violet
HEX
#5200CC
RGB
82, 0, 204
HSL
264°, 100%, 40%
CMYK
60%, 100%, 0%, 20%

Shades

CSS Usage
color: #5200CC;
background-color: #5200CC;
border-color: #5200CC;
box-shadow: 0 0 10px #5200CC;
border: 2px solid #5200CC;
Tailwind Usage
bg-[#5200CC]
text-[#5200CC]
border-[#5200CC]
shadow-[0_0_10px_5200CC]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5200CC, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5200CC; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5200CC; 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 #5200CC; background-color: #5200CC15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5200CC20; border-left: 4px solid #5200CC; }

Link / Accent

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

a { color: #5200CC; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5200CC in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 0, 204

Red: 82 / Green: 0 / Blue: 204

HSL

264°, 100%, 40%

Hue: 264° / Saturation: 100% / Lightness: 40%

CMYK

60%, 100%, 0%, 20%

Cyan: 60% / Magenta: 100% / Yellow: 0% / Key: 20%

What color is #5200CC?

#5200CC is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5200CC to RGB:

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

HEX to HSL

Convert #5200CC to HSL:

hsl(264, 100%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #5200CC to CMYK:

cmyk(60%, 100%, 0%, 20%)Color Converter →

Color Meaning and Usage

#5200CC is a bold purple color with RGB values of 82, 0, 204 and HSL of 264°, 100%, 40%. This highly saturated hue evokes energy and excitement, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5200CC is #7ACC00, creating high-contrast pairings. For softer combinations, try analogous colors like #0014CC.

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

Contrast with #5200CC

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5200CC?

#5200CC is a bold purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #5200CC?

#5200CC in RGB is (82, 0, 204) - 82 red, 0 green, and 204 blue.

How to use #5200CC in CSS?

Use #5200CC directly in your CSS properties like color or background-color.

What colors go well with #5200CC?

#7ACC00 (complementary), #0014CC (analogous), and #330080 (lighter shade) work well with #5200CC.