✓ Copied to clipboard
#271A42 (Deep Violet) color swatch preview — Color From Pic.
#271A42 — Deep Violet color swatch

Deep Violet

#271A42

📝 Color Information for #271A42

The hexadecimal color code #271A42 represents a very dark shade in the blue family. In the RGB color model, this color is composed of 39 red, 26 green, and 66 blue, which translates to approximately 15% red, 10% green, and 26% blue. This makes it a slightly desaturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #271A42 has a hue of 260 degrees, a saturation level of 43%, and a lightness value of 18%. The hue angle of 260° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 260°, saturation of 61%, and brightness/value of 26%. For print applications using the CMYK color model, #271A42 would be reproduced using 41% cyan, 61% magenta, 0% yellow, and 74% black. The closest web-safe color is #333333, 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 #271A42 with other colors, consider its complementary color at hue 80° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 2562626, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #271A42

Tailwind CSS
indigo-950
HEX
#271A42
RGB
rgb(39, 26, 66)
RGB %
15%, 10%, 26%
HSL
hsl(260, 43%, 18%)
HSV
hsv(260, 61%, 26%)
CMYK
41%, 61%, 0%, 74%
Decimal
2562626
Web Safe
#333333

🎨 Color Schemes for #271A42

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #271A42

🌗 Shades and Tints of #271A42

Shades (adding black)
Tints (adding white)

🎚️ Tones of #271A42

Tones (adding gray / desaturating)

🌈 Hue Variations of #271A42

Hue Variations (shifting the color spectrum)

👁️ Preview of #271A42 in Use

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

👓 Color Blindness Simulation for #271A42

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 #271A42

:root { --color-hex: #271A42; --color-rgb: 39, 26, 66; --color-hsl: 260, 43%, 18%; } .bg-color { background-color: #271A42; } .text-color { color: #271A42; } .border-color { border-color: #271A42; }

🛠️ Use #271A42 in Your Project

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

🔗 Related Colors to #271A42

#1A2142
Hue -30°
#1D1A42
Hue -15°
#311A42
Hue +15°
#3B1A42
Hue +30°
#211637
85% L
#1C132F
70% L
#140D21
50% L
#0B0712
30% L
#4A317C
34% L
#704CB8
51% L
#9F87CF
67% L
#D0C5E8
84% L

About Deep Violet (#271A42)

Deep Violet is a dark, moderately saturated, cool blue color with a hue angle of 260°, saturation of 43%, and lightness of 18%. Its RGB value is (39, 26, 66) and its CMYK breakdown is C:41% M:61% Y:0% K:74%.

This is a Winter (Deep) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.

Frequently Asked Questions About #271A42

What is the HEX code for Deep Violet? +

The HEX code for Deep Violet is #271A42. In CSS you can use it directly as color: #271A42; or as a background: background-color: #271A42;. 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 #271A42? +

The RGB value of #271A42 is rgb(39, 26, 66). This means the color contains 39 out of 255 parts red, 26 out of 255 parts green, and 66 out of 255 parts blue. Red is the moderate channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(39, 26, 66);

What is the HSL value of #271A42? +

The HSL value of #271A42 is hsl(260, 43%, 18%). The hue is 260°, placing it in the blue family on the color wheel. The saturation is 43%, making it moderately saturated. The lightness is 18%, 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 #271A42 a warm or cool color? +

#271A42 is classified as a cool color based on its hue angle of 260°. Cool colors — blues, greens, and purples — evoke calm, trust, and professionalism. They tend to recede visually and create a feeling of space. In design, cool colors are often used for technology, healthcare, and finance brands, as well as anywhere a sense of calm or reliability is needed.

What is the CMYK value of #271A42? +

The approximate CMYK value of #271A42 is C:41% M:61% Y:0% K:74%. 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 #271A42 with Other Tools

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