✓ Copied to clipboard
#4028AF (Cool Violet) color swatch preview — Color From Pic.
#4028AF — Cool Violet color swatch

Cool Violet

#4028AF

📝 Color Information for #4028AF

The hexadecimal color code #4028AF represents a medium shade in the blue family. In the RGB color model, this color is composed of 64 red, 40 green, and 175 blue, which translates to approximately 25% red, 16% green, and 69% blue. This makes it a moderately saturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #4028AF has a hue of 251 degrees, a saturation level of 63%, and a lightness value of 42%. The hue angle of 251° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 251°, saturation of 77%, and brightness/value of 69%. For print applications using the CMYK color model, #4028AF would be reproduced using 63% cyan, 77% magenta, 0% yellow, and 31% black. The closest web-safe color is #333399, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #4028AF with other colors, consider its complementary color at hue 71° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4204719, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #4028AF

Tailwind CSS
indigo-800
HEX
#4028AF
RGB
rgb(64, 40, 175)
RGB %
25%, 16%, 69%
HSL
hsl(251, 63%, 42%)
HSV
hsv(251, 77%, 69%)
CMYK
63%, 77%, 0%, 31%
Decimal
4204719
Web Safe
#333399

🎨 Color Schemes for #4028AF

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #4028AF

🌗 Shades and Tints of #4028AF

Shades (adding black)
Tints (adding white)

🎚️ Tones of #4028AF

Tones (adding gray / desaturating)

🌈 Hue Variations of #4028AF

Hue Variations (shifting the color spectrum)

👁️ Preview of #4028AF in Use

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

👓 Color Blindness Simulation for #4028AF

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 #4028AF

:root { --color-hex: #4028AF; --color-rgb: 64, 40, 175; --color-hsl: 251, 63%, 42%; } .bg-color { background-color: #4028AF; } .text-color { color: #4028AF; } .border-color { border-color: #4028AF; }

🛠️ Use #4028AF in Your Project

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

🔗 Related Colors to #4028AF

#2852AF
Hue -30°
#2831AF
Hue -15°
#6228AF
Hue +15°
#8428AF
Hue +30°
#372296
85% L
#2C1B79
70% L
#201457
50% L
#140C36
30% L
#5B40D4
54% L
#826EDE
65% L
#AD9FE9
77% L
#D4CDF4
88% L

About Cool Violet (#4028AF)

Cool Violet is a medium, vibrant, cool blue color with a hue angle of 251°, saturation of 63%, and lightness of 42%. Its RGB value is (64, 40, 175) and its CMYK breakdown is C:63% M:77% Y:0% K:31%.

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

Frequently Asked Questions About #4028AF

What is the HEX code for Cool Violet? +

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

The RGB value of #4028AF is rgb(64, 40, 175). This means the color contains 64 out of 255 parts red, 40 out of 255 parts green, and 175 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(64, 40, 175);

What is the HSL value of #4028AF? +

The HSL value of #4028AF is hsl(251, 63%, 42%). The hue is 251°, placing it in the blue family on the color wheel. The saturation is 63%, making it vibrant. The lightness is 42%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #4028AF a warm or cool color? +

#4028AF is classified as a cool color based on its hue angle of 251°. 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 #4028AF? +

The approximate CMYK value of #4028AF is C:63% M:77% Y:0% K:31%. 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 #4028AF with Other Tools

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