#662F92 Color Information

Hex color code: #662F92

A understated purple shade, #662F92 appears as (102, 47, 146) in RGB and (273°, 51%, 38%) in HSL. It is widely used in graphic design.

Try:
Color NameRebecca Purple
HEX
#662F92
RGB
102, 47, 146
HSL
273°, 51%, 38%
CMYK
30%, 68%, 0%, 43%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #662F92; 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 #662F92; background-color: #662F9215; }

Alert / Toast

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

Link / Accent

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

a { color: #662F92; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #662F92 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

102, 47, 146

Red: 102 / Green: 47 / Blue: 146

HSL

273°, 51%, 38%

Hue: 273° / Saturation: 51% / Lightness: 38%

CMYK

30%, 68%, 0%, 43%

Cyan: 30% / Magenta: 68% / Yellow: 0% / Key: 43%

What color is #662F92?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #662F92 to RGB:

rgb(102, 47, 146)HEX to RGB Converter →

HEX to HSL

Convert #662F92 to HSL:

hsl(273, 51%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #662F92 to CMYK:

cmyk(30%, 68%, 0%, 43%)Color Converter →

Color Meaning and Usage

A muted purple tone, #662F92 has RGB (102, 47, 146) and HSL (273°, 51%, 38%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #662F92 is #5C922F, creating high-contrast pairings. For softer combinations, try analogous colors like #342F92.

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

Contrast with #662F92

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #662F92?

#662F92 is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #662F92?

#662F92 in RGB is (102, 47, 146) - 102 red, 47 green, and 146 blue.

How to use #662F92 in CSS?

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

What colors go well with #662F92?

#5C922F (complementary), #342F92 (analogous), and #3E1D59 (lighter shade) work well with #662F92.