#301E4D Color Information

Hex color code: #301E4D

A deep purple shade, #301E4D appears as (48, 30, 77) in RGB and (263°, 44%, 21%) in HSL. It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#301E4D
RGB
48, 30, 77
HSL
263°, 44%, 21%
CMYK
38%, 61%, 0%, 70%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #301E4D; 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 #301E4D; background-color: #301E4D15; }

Alert / Toast

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

Link / Accent

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

a { color: #301E4D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #301E4D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

48, 30, 77

Red: 48 / Green: 30 / Blue: 77

HSL

263°, 44%, 21%

Hue: 263° / Saturation: 44% / Lightness: 21%

CMYK

38%, 61%, 0%, 70%

Cyan: 38% / Magenta: 61% / Yellow: 0% / Key: 70%

What color is #301E4D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #301E4D to RGB:

rgb(48, 30, 77)HEX to RGB Converter →

HEX to HSL

Convert #301E4D to HSL:

hsl(263, 44%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #301E4D to CMYK:

cmyk(38%, 61%, 0%, 70%)Color Converter →

Color Meaning and Usage

#301E4D is a intense purple color with RGB values of 48, 30, 77 and HSL of 263°, 44%, 21%. This blue-purple hue evokes creativity and luxury, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #301E4D is #3B4D1E, creating high-contrast pairings. For softer combinations, try analogous colors like #1E234D.

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

Contrast with #301E4D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #301E4D?

#301E4D is a intense purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #301E4D?

#301E4D in RGB is (48, 30, 77) - 48 red, 30 green, and 77 blue.

How to use #301E4D in CSS?

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

What colors go well with #301E4D?

#3B4D1E (complementary), #1E234D (analogous), and #0E0916 (lighter shade) work well with #301E4D.