#341843 Color Information

Hex color code: #341843

#341843 is a rich purple color. In RGB it is (52, 24, 67), and in HSL it is (279°, 47%, 18%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#341843
RGB
52, 24, 67
HSL
279°, 47%, 18%
CMYK
22%, 64%, 0%, 74%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #341843; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

52, 24, 67

Red: 52 / Green: 24 / Blue: 67

HSL

279°, 47%, 18%

Hue: 279° / Saturation: 47% / Lightness: 18%

CMYK

22%, 64%, 0%, 74%

Cyan: 22% / Magenta: 64% / Yellow: 0% / Key: 74%

What color is #341843?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #341843 to RGB:

rgb(52, 24, 67)HEX to RGB Converter →

HEX to HSL

Convert #341843 to HSL:

hsl(279, 47%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #341843 to CMYK:

cmyk(22%, 64%, 0%, 74%)Color Converter →

Color Meaning and Usage

A dramatic purple tone, #341843 has RGB (52, 24, 67) and HSL (279°, 47%, 18%). Known for evoking sophistication and elegance, this very dark shade is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #341843 is #274318, creating high-contrast pairings. For softer combinations, try analogous colors like #1F1843.

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

Contrast with #341843

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #341843?

#341843 is a dramatic purple color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #341843?

#341843 in RGB is (52, 24, 67) - 52 red, 24 green, and 67 blue.

How to use #341843 in CSS?

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

What colors go well with #341843?

#274318 (complementary), #1F1843 (analogous), and #09040B (lighter shade) work well with #341843.