#502040 Color Information
Hex color code: #502040
#502040 is a deep magenta color. In RGB it is (80, 32, 64), and in HSL it is (320°, 43%, 22%). It is frequently seen in web interfaces.
Shades
color: #502040; background-color: #502040; border-color: #502040; box-shadow: 0 0 10px #502040; border: 2px solid #502040;
bg-[#502040] text-[#502040] border-[#502040] shadow-[0_0_10px_502040]
Generate Gradient
background: linear-gradient(90deg, #502040, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #502040 in the color wheel.
RGB, HSL and CMYK Values
RGB
80, 32, 64
Red: 80 / Green: 32 / Blue: 64
HSL
320°, 43%, 22%
Hue: 320° / Saturation: 43% / Lightness: 22%
CMYK
0%, 60%, 20%, 69%
Cyan: 0% / Magenta: 60% / Yellow: 20% / Key: 69%
What color is #502040?
#502040 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#502040 is a intense magenta color with RGB values of 80, 32, 64 and HSL of 320°, 43%, 22%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #502040 is #205030, creating high-contrast pairings. For softer combinations, try analogous colors like #482050.
Use #502040 in CSS: color: #502040 or background-color: #502040. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #502040
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #502040?
#502040 is a intense magenta color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #502040?
#502040 in RGB is (80, 32, 64) - 80 red, 32 green, and 64 blue.
How to use #502040 in CSS?
Use #502040 directly in your CSS properties like color or background-color.