#642F7F Color Information

Hex color code: #642F7F

A subtle purple shade, #642F7F appears as (100, 47, 127) in RGB and (280°, 46%, 34%) in HSL. It is popular in mobile app design.

Try:
Color NameRebecca Purple
HEX
#642F7F
RGB
100, 47, 127
HSL
280°, 46%, 34%
CMYK
21%, 63%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #642F7F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

100, 47, 127

Red: 100 / Green: 47 / Blue: 127

HSL

280°, 46%, 34%

Hue: 280° / Saturation: 46% / Lightness: 34%

CMYK

21%, 63%, 0%, 50%

Cyan: 21% / Magenta: 63% / Yellow: 0% / Key: 50%

What color is #642F7F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #642F7F to RGB:

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

HEX to HSL

Convert #642F7F to HSL:

hsl(280, 46%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #642F7F to CMYK:

cmyk(21%, 63%, 0%, 50%)Color Converter →

Color Meaning and Usage

A delicate purple tone, #642F7F has RGB (100, 47, 127) and HSL (280°, 46%, 34%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #642F7F is #497F2F, creating high-contrast pairings. For softer combinations, try analogous colors like #3C2F7F.

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

Contrast with #642F7F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #642F7F?

#642F7F is a delicate purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #642F7F?

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

How to use #642F7F in CSS?

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

What colors go well with #642F7F?

#497F2F (complementary), #3C2F7F (analogous), and #381A47 (lighter shade) work well with #642F7F.