#31212F Color Information
Hex color code: #31212F
The hex color #31212F is a deep magenta with RGB values of (49, 33, 47) and HSL of (308°, 20%, 16%). It is commonly used in modern UI design.
Shades
color: #31212F; background-color: #31212F; border-color: #31212F; box-shadow: 0 0 10px #31212F; border: 2px solid #31212F;
bg-[#31212F] text-[#31212F] border-[#31212F] shadow-[0_0_10px_31212F]
Generate Gradient
background: linear-gradient(90deg, #31212F, #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 #31212F in the color wheel.
RGB, HSL and CMYK Values
RGB
49, 33, 47
Red: 49 / Green: 33 / Blue: 47
HSL
308°, 20%, 16%
Hue: 308° / Saturation: 20% / Lightness: 16%
CMYK
0%, 33%, 4%, 81%
Cyan: 0% / Magenta: 33% / Yellow: 4% / Key: 81%
What color is #31212F?
#31212F is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#31212F is a dark magenta color with RGB values of 49, 33, 47 and HSL of 308°, 20%, 16%. This very dark shade evokes sophistication and elegance, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #31212F is #213123, creating high-contrast pairings. For softer combinations, try analogous colors like #2B2131.
Use #31212F in CSS: color: #31212F or background-color: #31212F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #31212F
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 #31212F?
#31212F is a dark magenta color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #31212F?
#31212F in RGB is (49, 33, 47) - 49 red, 33 green, and 47 blue.
How to use #31212F in CSS?
Use #31212F directly in your CSS properties like color or background-color.