#34115F Color Information

Hex color code: #34115F

The hex color #34115F is a dramatic purple with RGB values of (52, 17, 95) and HSL of (267°, 70%, 22%). It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#34115F
RGB
52, 17, 95
HSL
267°, 70%, 22%
CMYK
45%, 82%, 0%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #34115F; 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 #34115F; background-color: #34115F15; }

Alert / Toast

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

Link / Accent

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

a { color: #34115F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #34115F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 17, 95

Red: 52 / Green: 17 / Blue: 95

HSL

267°, 70%, 22%

Hue: 267° / Saturation: 70% / Lightness: 22%

CMYK

45%, 82%, 0%, 63%

Cyan: 45% / Magenta: 82% / Yellow: 0% / Key: 63%

What color is #34115F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #34115F to RGB:

rgb(52, 17, 95)HEX to RGB Converter →

HEX to HSL

Convert #34115F to HSL:

hsl(267, 70%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #34115F to CMYK:

cmyk(45%, 82%, 0%, 63%)Color Converter →

Color Meaning and Usage

A deep purple tone, #34115F has RGB (52, 17, 95) and HSL (267°, 70%, 22%). Known for evoking creativity and luxury, this blue-purple hue is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #34115F is #3C5F11, creating high-contrast pairings. For softer combinations, try analogous colors like #11155F.

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

Contrast with #34115F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #34115F?

#34115F is a deep purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #34115F?

#34115F in RGB is (52, 17, 95) - 52 red, 17 green, and 95 blue.

How to use #34115F in CSS?

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

What colors go well with #34115F?

#3C5F11 (complementary), #11155F (analogous), and #11051E (lighter shade) work well with #34115F.