#6A2A78 Color Information

Hex color code: #6A2A78

A delicate magenta shade, #6A2A78 appears as (106, 42, 120) in RGB and (289°, 48%, 32%) in HSL. It is widely used in graphic design.

Try:
Color NameRebecca Purple
HEX
#6A2A78
RGB
106, 42, 120
HSL
289°, 48%, 32%
CMYK
12%, 65%, 0%, 53%

Shades

CSS Usage
color: #6A2A78;
background-color: #6A2A78;
border-color: #6A2A78;
box-shadow: 0 0 10px #6A2A78;
border: 2px solid #6A2A78;
Tailwind Usage
bg-[#6A2A78]
text-[#6A2A78]
border-[#6A2A78]
shadow-[0_0_10px_6A2A78]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #6A2A78, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #6A2A78; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #6A2A78; 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 #6A2A78; background-color: #6A2A7815; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #6A2A7820; border-left: 4px solid #6A2A78; }

Link / Accent

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

a { color: #6A2A78; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #6A2A78 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

106, 42, 120

Red: 106 / Green: 42 / Blue: 120

HSL

289°, 48%, 32%

Hue: 289° / Saturation: 48% / Lightness: 32%

CMYK

12%, 65%, 0%, 53%

Cyan: 12% / Magenta: 65% / Yellow: 0% / Key: 53%

What color is #6A2A78?

#6A2A78 is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #6A2A78 to RGB:

rgb(106, 42, 120)HEX to RGB Converter →

HEX to HSL

Convert #6A2A78 to HSL:

hsl(289, 48%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #6A2A78 to CMYK:

cmyk(12%, 65%, 0%, 53%)Color Converter →

Color Meaning and Usage

#6A2A78 is a pastel magenta color with RGB values of 106, 42, 120 and HSL of 289°, 48%, 32%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #6A2A78 is #39792A, creating high-contrast pairings. For softer combinations, try analogous colors like #432A79.

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

Contrast with #6A2A78

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #6A2A78?

#6A2A78 is a pastel magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #6A2A78?

#6A2A78 in RGB is (106, 42, 120) - 106 red, 42 green, and 120 blue.

How to use #6A2A78 in CSS?

Use #6A2A78 directly in your CSS properties like color or background-color.

What colors go well with #6A2A78?

#39792A (complementary), #432A79 (analogous), and #391740 (lighter shade) work well with #6A2A78.