#45166A Color Information

Hex color code: #45166A

#45166A is a balanced purple color. In RGB it is (69, 22, 106), and in HSL it is (274°, 66%, 25%). It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#45166A
RGB
69, 22, 106
HSL
274°, 66%, 25%
CMYK
35%, 79%, 0%, 58%

Shades

CSS Usage
color: #45166A;
background-color: #45166A;
border-color: #45166A;
box-shadow: 0 0 10px #45166A;
border: 2px solid #45166A;
Tailwind Usage
bg-[#45166A]
text-[#45166A]
border-[#45166A]
shadow-[0_0_10px_45166A]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #45166A, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #45166A; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #45166A; 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 #45166A; background-color: #45166A15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #45166A20; border-left: 4px solid #45166A; }

Link / Accent

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

a { color: #45166A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #45166A in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

69, 22, 106

Red: 69 / Green: 22 / Blue: 106

HSL

274°, 66%, 25%

Hue: 274° / Saturation: 66% / Lightness: 25%

CMYK

35%, 79%, 0%, 58%

Cyan: 35% / Magenta: 79% / Yellow: 0% / Key: 58%

What color is #45166A?

#45166A is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #45166A to RGB:

rgb(69, 22, 106)HEX to RGB Converter →

HEX to HSL

Convert #45166A to HSL:

hsl(274, 66%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #45166A to CMYK:

cmyk(35%, 79%, 0%, 58%)Color Converter →

Color Meaning and Usage

#45166A is a subtle purple color with RGB values of 69, 22, 106 and HSL of 274°, 66%, 25%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #45166A is #3A6A16, creating high-contrast pairings. For softer combinations, try analogous colors like #1B166A.

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

Contrast with #45166A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #45166A?

#45166A is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #45166A?

#45166A in RGB is (69, 22, 106) - 69 red, 22 green, and 106 blue.

How to use #45166A in CSS?

Use #45166A directly in your CSS properties like color or background-color.

What colors go well with #45166A?

#3A6A16 (complementary), #1B166A (analogous), and #1C092A (lighter shade) work well with #45166A.