#642478 Color Information

Hex color code: #642478

#642478 is a subtle magenta color. In RGB it is (100, 36, 120), and in HSL it is (286°, 54%, 31%). It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#642478
RGB
100, 36, 120
HSL
286°, 54%, 31%
CMYK
17%, 70%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #642478; 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 #642478; background-color: #64247815; }

Alert / Toast

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

Link / Accent

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

a { color: #642478; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #642478 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 36, 120

Red: 100 / Green: 36 / Blue: 120

HSL

286°, 54%, 31%

Hue: 286° / Saturation: 54% / Lightness: 31%

CMYK

17%, 70%, 0%, 53%

Cyan: 17% / Magenta: 70% / Yellow: 0% / Key: 53%

What color is #642478?

#642478 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #642478 to RGB:

rgb(100, 36, 120)HEX to RGB Converter →

HEX to HSL

Convert #642478 to HSL:

hsl(286, 54%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #642478 to CMYK:

cmyk(17%, 70%, 0%, 53%)Color Converter →

Color Meaning and Usage

#642478 is a muted magenta color with RGB values of 100, 36, 120 and HSL of 286°, 54%, 31%. This magenta-red hue evokes romance and playfulness, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #642478 is #387A24, creating high-contrast pairings. For softer combinations, try analogous colors like #3B247A.

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

Contrast with #642478

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #642478?

#642478 is a muted magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #642478?

#642478 in RGB is (100, 36, 120) - 100 red, 36 green, and 120 blue.

How to use #642478 in CSS?

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

What colors go well with #642478?

#387A24 (complementary), #3B247A (analogous), and #35133F (lighter shade) work well with #642478.