Color: #AB40B8
#AB40B8 Color Information
#AB40B8 is a dark color. The closest websafe version is #AB40B8. A complement of this color would be #4DB941, perceived brightness is 0.43, and the grayscale version is #7C7C7C.
In the HSL color space, this color has a hue angle of 294°,a saturation of 48%, and a lightness of 49%.The HSV representation shows a hue of 294°, a saturation of 65%, and a value of 72%.
In a RGB color space, #AB40B8 is composed of 67% red, 25% green and 72% blue. Whereas in a CMYK color space, it is composed of 7% cyan, 65% magenta, 0% yellow and 28% black.
In the Yxy color space, this color is represented as Y: 15.64, x: 0.3430, and y: 0.2017.
Color Code #AB40B8
Shades of Color #AB40B8
Shades are created by darkening the original color #AB40B8 in equal steps from 0% to 90%. These shades are perfect for creating depth and contrast in your designs. Use them to add visual hierarchy or highlight specific elements in your projects.
Tints of Color #AB40B8
Tints are created by lightening the original color #AB40B8 in equal steps from 0% to 90%, ending with pure white. These tints are ideal for creating soft backgrounds, subtle highlights, or cohesive UI elements that complement your designs.
About #AB40B8 Color Code
In the HSL color space, this color has a hue angle of 294°, a saturation of 48%, and a lightness of 49%. The HSV representation shows a hue of 294°, a saturation of 65%, and a value of 72%.
- HEX: #AB40B8
- RGB: rgb(171, 64, 184)
- HSL: hsl(294, 48%, 49%)
- HSV: hsv(294, 65%, 72%)
- CMYK: 7.00% cyan, 65.00% magenta, 0.00% yellow, 28.00% black
- XYZ: 26.59, 15.64, 35.30
- Yxy: 15.64, 0.3430, 0.2017
- Hunter Lab: 46.50, 56.05, -42.93
- CIE-Lab: 46.50, 56.05, -42.93
In the XYZ color space, this color is represented as X: 26.59, Y: 15.64, Z: 35.30. The Yxy representation further refines this as Y: 15.64, x: 0.3430, and y: 0.2017.
In the Hunter Lab color space, this color is represented as L: 46.50, a: 56.05, and b: -42.93. Similarly, in the CIE-Lab color space, it is represented as L: 46.50, a: 56.05, and b: -42.93.
Use these color codes in your CSS, design tools, or anywhere you need to specify a color. You can also explore its shades and tints for more creative options.
Triadic Colors of #AB40B8
Triadic colors are three colors evenly spaced around the color wheel, including #AB40B8. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Split Complementary Colors of #AB40B8
Split complementary colors are two colors adjacent to the complementary color of #AB40B8. They create a balanced and visually appealing color scheme.
Monochromatic Colors of #AB40B8
Monochromatic colors are variations of #AB40B8, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #AB40B8
The complementary color of #AB40B8 is opposite it on the color wheel. Complementary colors provide strong contrast and are ideal for designs that need visual impact and attention.
CSS Examples of #AB40B8
/* Using HEX */ body { background-color: #ab40b8; }
/* Using RGB */ body { background-color: rgb(171, 64, 184); }
/* Using RGB with opacity */ body { background-color: rgba(171, 64, 184, 0.5); }
/* Using HSL */ body { background-color: hsl(294, 48%, 49%); }
/* Text color */ p { color: #ab40b8; }
/* Box shadow */ div { box-shadow: 4px 4px #ab40b8; }
/* Border color */ .box { border: 4px solid #ab40b8; }
/* Text shadow */ h1 { color: #222; text-shadow: 2px 2px 0 #ab40b8; }
/* Background with text */ div { background: #ab40b8; color: #fff; padding: 16px; border-radius: 8px; }
HTML Examples of #AB40B8
<!-- Using HEX --> <div style="background-color: #ab40b8; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(171, 64, 184); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(171, 64, 184, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(294, 48%, 49%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #ab40b8;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #ab40b8; width: 100px; height: 100px;"></div>
<!-- Border color --> <div style="border: 4px solid #ab40b8; width: 100px; height: 100px;"></div>
<!-- Text shadow --> <h1 style="color: #222; text-shadow: 2px 2px 0 #ab40b8;">Text Shadow Preview</h1>
<!-- Background with text --> <div style="background: #ab40b8; color: #fff; padding: 16px; border-radius: 8px;"> #AB40B8 </div>
Related Colors of #AB40B8
These colors are similar to #AB40B8, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.