#45128C Color Information

Hex color code: #45128C

A eye-catching purple shade, #45128C appears as (69, 18, 140) in RGB and (265°, 77%, 31%) in HSL. It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#45128C
RGB
69, 18, 140
HSL
265°, 77%, 31%
CMYK
51%, 87%, 0%, 45%

Shades

CSS Usage
color: #45128C;
background-color: #45128C;
border-color: #45128C;
box-shadow: 0 0 10px #45128C;
border: 2px solid #45128C;
Tailwind Usage
bg-[#45128C]
text-[#45128C]
border-[#45128C]
shadow-[0_0_10px_45128C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #45128C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #45128C; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #45128C; 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 #45128C; background-color: #45128C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #45128C20; border-left: 4px solid #45128C; }

Link / Accent

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

a { color: #45128C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #45128C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

69, 18, 140

Red: 69 / Green: 18 / Blue: 140

HSL

265°, 77%, 31%

Hue: 265° / Saturation: 77% / Lightness: 31%

CMYK

51%, 87%, 0%, 45%

Cyan: 51% / Magenta: 87% / Yellow: 0% / Key: 45%

What color is #45128C?

#45128C is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #45128C to RGB:

rgb(69, 18, 140)HEX to RGB Converter →

HEX to HSL

Convert #45128C to HSL:

hsl(265, 77%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #45128C to CMYK:

cmyk(51%, 87%, 0%, 45%)Color Converter →

Color Meaning and Usage

#45128C is a vivid purple color with RGB values of 69, 18, 140 and HSL of 265°, 77%, 31%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #45128C is #598C12, creating high-contrast pairings. For softer combinations, try analogous colors like #121C8C.

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

Contrast with #45128C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #45128C?

#45128C is a vivid purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #45128C?

#45128C in RGB is (69, 18, 140) - 69 red, 18 green, and 140 blue.

How to use #45128C in CSS?

Use #45128C directly in your CSS properties like color or background-color.

What colors go well with #45128C?

#598C12 (complementary), #121C8C (analogous), and #240948 (lighter shade) work well with #45128C.