#640C97 Color Information

Hex color code: #640C97

The hex color #640C97 is a dynamic purple with RGB values of (100, 12, 151) and HSL of (278°, 85%, 32%). It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#640C97
RGB
100, 12, 151
HSL
278°, 85%, 32%
CMYK
34%, 92%, 0%, 41%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #640C97; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 12, 151

Red: 100 / Green: 12 / Blue: 151

HSL

278°, 85%, 32%

Hue: 278° / Saturation: 85% / Lightness: 32%

CMYK

34%, 92%, 0%, 41%

Cyan: 34% / Magenta: 92% / Yellow: 0% / Key: 41%

What color is #640C97?

#640C97 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #640C97 to RGB:

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

HEX to HSL

Convert #640C97 to HSL:

hsl(278, 85%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #640C97 to CMYK:

cmyk(34%, 92%, 0%, 41%)Color Converter →

Color Meaning and Usage

#640C97 is a striking purple color with RGB values of 100, 12, 151 and HSL of 278°, 85%, 32%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #640C97 is #3F970C, creating high-contrast pairings. For softer combinations, try analogous colors like #1F0C97.

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

Contrast with #640C97

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #640C97?

#640C97 is a striking purple color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #640C97?

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

How to use #640C97 in CSS?

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

What colors go well with #640C97?

#3F970C (complementary), #1F0C97 (analogous), and #350750 (lighter shade) work well with #640C97.