#640C52 Color Information

Hex color code: #640C52

A rich magenta shade, #640C52 appears as (100, 12, 82) in RGB and (312°, 79%, 22%) in HSL. It is often used for branding and logos.

Try:
Color NamePurple
HEX
#640C52
RGB
100, 12, 82
HSL
312°, 79%, 22%
CMYK
0%, 88%, 18%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #640C52; 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 #640C52; background-color: #640C5215; }

Alert / Toast

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

Link / Accent

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

a { color: #640C52; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #640C52 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 12, 82

Red: 100 / Green: 12 / Blue: 82

HSL

312°, 79%, 22%

Hue: 312° / Saturation: 79% / Lightness: 22%

CMYK

0%, 88%, 18%, 61%

Cyan: 0% / Magenta: 88% / Yellow: 18% / Key: 61%

What color is #640C52?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #640C52 to RGB:

rgb(100, 12, 82)HEX to RGB Converter →

HEX to HSL

Convert #640C52 to HSL:

hsl(312, 79%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #640C52 to CMYK:

cmyk(0%, 88%, 18%, 61%)Color Converter →

Color Meaning and Usage

#640C52 is a dramatic magenta color with RGB values of 100, 12, 82 and HSL of 312°, 79%, 22%. This magenta-red hue evokes romance and playfulness, making it suitable for widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #640C52 is #0C641E, creating high-contrast pairings. For softer combinations, try analogous colors like #4A0C64.

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

Contrast with #640C52

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #640C52?

#640C52 is a dramatic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #640C52?

#640C52 in RGB is (100, 12, 82) - 100 red, 12 green, and 82 blue.

How to use #640C52 in CSS?

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

What colors go well with #640C52?

#0C641E (complementary), #4A0C64 (analogous), and #20041A (lighter shade) work well with #640C52.