#312C3F Color Information
Hex color code: #312C3F
The hex color #312C3F is a deep purple with RGB values of (49, 44, 63) and HSL of (256°, 18%, 21%). It is commonly used in modern UI design.
Shades
color: #312C3F; background-color: #312C3F; border-color: #312C3F; box-shadow: 0 0 10px #312C3F; border: 2px solid #312C3F;
bg-[#312C3F] text-[#312C3F] border-[#312C3F] shadow-[0_0_10px_312C3F]
Generate Gradient
background: linear-gradient(90deg, #312C3F, #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 #312C3F in the color wheel.
RGB, HSL and CMYK Values
RGB
49, 44, 63
Red: 49 / Green: 44 / Blue: 63
HSL
256°, 18%, 21%
Hue: 256° / Saturation: 18% / Lightness: 21%
CMYK
22%, 30%, 0%, 75%
Cyan: 22% / Magenta: 30% / Yellow: 0% / Key: 75%
What color is #312C3F?
#312C3F is a blue-purple hue associated with creativity and luxury.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
A intense purple tone, #312C3F has RGB (49, 44, 63) and HSL (256°, 18%, 21%). 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 #312C3F is #3A3F2C, creating high-contrast pairings. For softer combinations, try analogous colors like #2C303F.
Use #312C3F in CSS: color: #312C3F or background-color: #312C3F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #312C3F
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 #312C3F?
#312C3F is a intense purple color - a blue-purple hue that evokes creativity and luxury.
What is the RGB value of #312C3F?
#312C3F in RGB is (49, 44, 63) - 49 red, 44 green, and 63 blue.
How to use #312C3F in CSS?
Use #312C3F directly in your CSS properties like color or background-color.