✓ Copied to clipboard
#301828 (Deep Magenta) color swatch preview — Color From Pic.
#301828 — Deep Magenta color swatch

Deep Magenta

#301828

📝 Color Information for #301828

The hexadecimal color code #301828 represents a very dark shade in the purple family. In the RGB color model, this color is composed of 48 red, 24 green, and 40 blue, which translates to approximately 19% red, 9% green, and 16% blue. This makes it a slightly desaturated color with warm undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #301828 has a hue of 320 degrees, a saturation level of 33%, and a lightness value of 14%. The hue angle of 320° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 320°, saturation of 50%, and brightness/value of 19%. For print applications using the CMYK color model, #301828 would be reproduced using 0% cyan, 50% magenta, 17% yellow, and 81% black. The closest web-safe color is #330033, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. As a darker shade, it works well for text, headers, and creating visual weight in compositions. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #301828 with other colors, consider its complementary color at hue 140° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 3151912, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #301828

Tailwind CSS
stone-800
HEX
#301828
RGB
rgb(48, 24, 40)
RGB %
19%, 9%, 16%
HSL
hsl(320, 33%, 14%)
HSV
hsv(320, 50%, 19%)
CMYK
0%, 50%, 17%, 81%
Decimal
3151912
Web Safe
#330033

🎨 Color Schemes for #301828

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #301828

🌗 Shades and Tints of #301828

Shades (adding black)
Tints (adding white)

🎚️ Tones of #301828

Tones (adding gray / desaturating)

🌈 Hue Variations of #301828

Hue Variations (shifting the color spectrum)

👁️ Preview of #301828 in Use

Text on #301828
This demonstrates text readability on the color background. (Click to edit)
#301828 as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #301828

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #301828

:root { --color-hex: #301828; --color-rgb: 48, 24, 40; --color-hsl: 320, 33%, 14%; } .bg-color { background-color: #301828; } .text-color { color: #301828; } .border-color { border-color: #301828; }

🛠️ Use #301828 in Your Project

🎨
Build a Palette with #301828
Generate harmonious color schemes
⚖️
Check Contrast for #301828
WCAG accessibility testing
🌈
Create a Gradient with #301828
Beautiful CSS gradients

🔗 Related Colors to #301828

#2C182F
Hue -30°
#2F182E
Hue -15°
#2F1822
Hue +15°
#2F181C
Hue +30°
#291522
85% L
#22111C
70% L
#180C14
50% L
#0E070B
30% L
#693558
31% L
#A35288
48% L
#C58CB2
66% L
#E2C5D8
83% L

About Deep Magenta (#301828)

Deep Magenta is a dark, moderately saturated, warm purple color with a hue angle of 320°, saturation of 33%, and lightness of 14%. Its RGB value is (48, 24, 40) and its CMYK breakdown is C:0% M:50% Y:17% K:81%.

This is a Winter (Deep) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #301828

What is the HEX code for Deep Magenta? +

The HEX code for Deep Magenta is #301828. In CSS you can use it directly as color: #301828; or as a background: background-color: #301828;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #301828? +

The RGB value of #301828 is rgb(48, 24, 40). This means the color contains 48 out of 255 parts red, 24 out of 255 parts green, and 40 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(48, 24, 40);

What is the HSL value of #301828? +

The HSL value of #301828 is hsl(320, 33%, 14%). The hue is 320°, placing it in the purple family on the color wheel. The saturation is 33%, making it moderately saturated. The lightness is 14%, making it dark. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #301828 a warm or cool color? +

#301828 is classified as a warm color based on its hue angle of 320°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.

What is the CMYK value of #301828? +

The approximate CMYK value of #301828 is C:0% M:50% Y:17% K:81%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #301828 with Other Tools

🔢
Color Converter
Get all formats for #301828 — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #301828 passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #301828.
👓
Blindness Simulator
See how #301828 appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #301828.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #301828.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #301828.
🔬
Technical Formats
See #301828 in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #301828 as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.