#301178 Color Information

Hex color code: #301178

A striking purple shade, #301178 appears as (48, 17, 120) in RGB and (258°, 75%, 27%) in HSL. It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#301178
RGB
48, 17, 120
HSL
258°, 75%, 27%
CMYK
60%, 86%, 0%, 53%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #301178; 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 #301178; background-color: #30117815; }

Alert / Toast

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

Link / Accent

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

a { color: #301178; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #301178 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 17, 120

Red: 48 / Green: 17 / Blue: 120

HSL

258°, 75%, 27%

Hue: 258° / Saturation: 75% / Lightness: 27%

CMYK

60%, 86%, 0%, 53%

Cyan: 60% / Magenta: 86% / Yellow: 0% / Key: 53%

What color is #301178?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #301178 to RGB:

rgb(48, 17, 120)HEX to RGB Converter →

HEX to HSL

Convert #301178 to HSL:

hsl(258, 75%, 27%)RGB to HSL Converter →

HEX to CMYK

Convert #301178 to CMYK:

cmyk(60%, 86%, 0%, 53%)Color Converter →

Color Meaning and Usage

A dynamic purple tone, #301178 has RGB (48, 17, 120) and HSL (258°, 75%, 27%). Known for evoking creativity and luxury, this blue-purple hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #301178 is #5A7811, creating high-contrast pairings. For softer combinations, try analogous colors like #112678.

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

Contrast with #301178

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #301178?

#301178 is a dynamic purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #301178?

#301178 in RGB is (48, 17, 120) - 48 red, 17 green, and 120 blue.

How to use #301178 in CSS?

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

What colors go well with #301178?

#5A7811 (complementary), #112678 (analogous), and #150836 (lighter shade) work well with #301178.