#34124F Color Information

Hex color code: #34124F

The hex color #34124F is a intense purple with RGB values of (52, 18, 79) and HSL of (273°, 63%, 19%). It is widely used in graphic design.

Try:
Color NameIndigo
HEX
#34124F
RGB
52, 18, 79
HSL
273°, 63%, 19%
CMYK
34%, 77%, 0%, 69%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #34124F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 18, 79

Red: 52 / Green: 18 / Blue: 79

HSL

273°, 63%, 19%

Hue: 273° / Saturation: 63% / Lightness: 19%

CMYK

34%, 77%, 0%, 69%

Cyan: 34% / Magenta: 77% / Yellow: 0% / Key: 69%

What color is #34124F?

#34124F is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #34124F to RGB:

rgb(52, 18, 79)HEX to RGB Converter →

HEX to HSL

Convert #34124F to HSL:

hsl(273, 63%, 19%)RGB to HSL Converter →

HEX to CMYK

Convert #34124F to CMYK:

cmyk(34%, 77%, 0%, 69%)Color Converter →

Color Meaning and Usage

A deep purple tone, #34124F has RGB (52, 18, 79) and HSL (273°, 63%, 19%). Known for evoking sophistication and elegance, this very dark shade is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #34124F is #2D4F12, creating high-contrast pairings. For softer combinations, try analogous colors like #15124F.

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

Contrast with #34124F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #34124F?

#34124F is a deep purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #34124F?

#34124F in RGB is (52, 18, 79) - 52 red, 18 green, and 79 blue.

How to use #34124F in CSS?

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

What colors go well with #34124F?

#2D4F12 (complementary), #15124F (analogous), and #0B0411 (lighter shade) work well with #34124F.