#642FAE Color Information

Hex color code: #642FAE

#642FAE is a serene purple color. In RGB it is (100, 47, 174), and in HSL it is (265°, 57%, 43%). It is often used for branding and logos.

Try:
Color NameRebecca Purple
HEX
#642FAE
RGB
100, 47, 174
HSL
265°, 57%, 43%
CMYK
43%, 73%, 0%, 32%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #642FAE; 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 #642FAE; background-color: #642FAE15; }

Alert / Toast

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

Link / Accent

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

a { color: #642FAE; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #642FAE in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 47, 174

Red: 100 / Green: 47 / Blue: 174

HSL

265°, 57%, 43%

Hue: 265° / Saturation: 57% / Lightness: 43%

CMYK

43%, 73%, 0%, 32%

Cyan: 43% / Magenta: 73% / Yellow: 0% / Key: 32%

What color is #642FAE?

#642FAE is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #642FAE to RGB:

rgb(100, 47, 174)HEX to RGB Converter →

HEX to HSL

Convert #642FAE to HSL:

hsl(265, 57%, 43%)RGB to HSL Converter →

HEX to CMYK

Convert #642FAE to CMYK:

cmyk(43%, 73%, 0%, 32%)Color Converter →

Color Meaning and Usage

A serene purple tone, #642FAE has RGB (100, 47, 174) and HSL (265°, 57%, 43%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #642FAE is #78AC2F, creating high-contrast pairings. For softer combinations, try analogous colors like #2F3AAC.

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

Contrast with #642FAE

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #642FAE?

#642FAE is a serene purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #642FAE?

#642FAE in RGB is (100, 47, 174) - 100 red, 47 green, and 174 blue.

How to use #642FAE in CSS?

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

What colors go well with #642FAE?

#78AC2F (complementary), #2F3AAC (analogous), and #411F70 (lighter shade) work well with #642FAE.