#66517B Color Information

Hex color code: #66517B

A pastel purple shade, #66517B appears as (102, 81, 123) in RGB and (270°, 21%, 40%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#66517B
RGB
102, 81, 123
HSL
270°, 21%, 40%
CMYK
17%, 34%, 0%, 52%

Shades

CSS Usage
color: #66517B;
background-color: #66517B;
border-color: #66517B;
box-shadow: 0 0 10px #66517B;
border: 2px solid #66517B;
Tailwind Usage
bg-[#66517B]
text-[#66517B]
border-[#66517B]
shadow-[0_0_10px_66517B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #66517B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #66517B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #66517B; 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 #66517B; background-color: #66517B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #66517B20; border-left: 4px solid #66517B; }

Link / Accent

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

a { color: #66517B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #66517B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

102, 81, 123

Red: 102 / Green: 81 / Blue: 123

HSL

270°, 21%, 40%

Hue: 270° / Saturation: 21% / Lightness: 40%

CMYK

17%, 34%, 0%, 52%

Cyan: 17% / Magenta: 34% / Yellow: 0% / Key: 52%

What color is #66517B?

#66517B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #66517B to RGB:

rgb(102, 81, 123)HEX to RGB Converter →

HEX to HSL

Convert #66517B to HSL:

hsl(270, 21%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #66517B to CMYK:

cmyk(17%, 34%, 0%, 52%)Color Converter →

Color Meaning and Usage

A pastel purple tone, #66517B has RGB (102, 81, 123) and HSL (270°, 21%, 40%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #66517B is #667B51, creating high-contrast pairings. For softer combinations, try analogous colors like #51517B.

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

Contrast with #66517B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #66517B?

#66517B is a pastel purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #66517B?

#66517B in RGB is (102, 81, 123) - 102 red, 81 green, and 123 blue.

How to use #66517B in CSS?

Use #66517B directly in your CSS properties like color or background-color.

What colors go well with #66517B?

#667B51 (complementary), #51517B (analogous), and #40324D (lighter shade) work well with #66517B.