#402749 Color Information
Hex color code: #402749
A deep purple shade, #402749 appears as (64, 39, 73) in RGB and (284°, 30%, 22%) in HSL. It is commonly used in modern UI design.
Shades
color: #402749; background-color: #402749; border-color: #402749; box-shadow: 0 0 10px #402749; border: 2px solid #402749;
bg-[#402749] text-[#402749] border-[#402749] shadow-[0_0_10px_402749]
Generate Gradient
background: linear-gradient(90deg, #402749, #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 #402749 in the color wheel.
RGB, HSL and CMYK Values
RGB
64, 39, 73
Red: 64 / Green: 39 / Blue: 73
HSL
284°, 30%, 22%
Hue: 284° / Saturation: 30% / Lightness: 22%
CMYK
12%, 47%, 0%, 71%
Cyan: 12% / Magenta: 47% / Yellow: 0% / Key: 71%
What color is #402749?
#402749 is a magenta-red hue associated with romance and playfulness.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#402749 is a dramatic purple color with RGB values of 64, 39, 73 and HSL of 284°, 30%, 22%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #402749 is #304927, creating high-contrast pairings. For softer combinations, try analogous colors like #2F2749.
Use #402749 in CSS: color: #402749 or background-color: #402749. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #402749
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 #402749?
#402749 is a dramatic purple color - a magenta-red hue that evokes romance and playfulness.
What is the RGB value of #402749?
#402749 in RGB is (64, 39, 73) - 64 red, 39 green, and 73 blue.
How to use #402749 in CSS?
Use #402749 directly in your CSS properties like color or background-color.