#342F3F Color Information
Hex color code: #342F3F
A dark purple shade, #342F3F appears as (52, 47, 63) in RGB and (259°, 15%, 22%) in HSL. It is frequently seen in web interfaces.
Shades
color: #342F3F; background-color: #342F3F; border-color: #342F3F; box-shadow: 0 0 10px #342F3F; border: 2px solid #342F3F;
bg-[#342F3F] text-[#342F3F] border-[#342F3F] shadow-[0_0_10px_342F3F]
Generate Gradient
background: linear-gradient(90deg, #342F3F, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #342F3F in the color wheel.
RGB, HSL and CMYK Values
RGB
52, 47, 63
Red: 52 / Green: 47 / Blue: 63
HSL
259°, 15%, 22%
Hue: 259° / Saturation: 15% / Lightness: 22%
CMYK
17%, 25%, 0%, 75%
Cyan: 17% / Magenta: 25% / Yellow: 0% / Key: 75%
What color is #342F3F?
#342F3F is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A rich purple tone, #342F3F has RGB (52, 47, 63) and HSL (259°, 15%, 22%). Known for evoking creativity and luxury, this blue-purple hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #342F3F is #3B4130, creating high-contrast pairings. For softer combinations, try analogous colors like #303341.
Use #342F3F in CSS: color: #342F3F or background-color: #342F3F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #342F3F
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #342F3F?
#342F3F is a rich purple color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #342F3F?
#342F3F in RGB is (52, 47, 63) - 52 red, 47 green, and 63 blue.
How to use #342F3F in CSS?
Use #342F3F directly in your CSS properties like color or background-color.