Color: #AF48DB
#AF48DB Color Information
#AF48DB is a dark color. The closest websafe version is #AF48DB. A complement of this color would be #74DB48, perceived brightness is 0.47, and the grayscale version is #929292.
In the HSL color space, this color has a hue angle of 282°,a saturation of 67%, and a lightness of 57%.The HSV representation shows a hue of 282°, a saturation of 100%, and a value of 100%.
In a RGB color space, #AF48DB is composed of 69% red, 28% green and 86% blue. Whereas in a CMYK color space, it is composed of 20% cyan, 67% magenta, 0% yellow and 14% black.
In the Yxy color space, this color is represented as Y: 18.48, x: 0.3082, and y: 0.1819.
Color Code #AF48DB
Shades of Color #AF48DB
Shades are created by darkening the original color #AF48DB 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 #AF48DB
Tints are created by lightening the original color #AF48DB 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 #AF48DB Color Code
In the HSL color space, this color has a hue angle of 282°, a saturation of 67%, and a lightness of 57%. The HSV representation shows a hue of 282°, a saturation of 67%, and a value of 86%.
- HEX: #AF48DB
- RGB: rgb(175, 72, 219)
- HSL: hsl(282, 67%, 57%)
- HSV: hsv(282, 67%, 86%)
- CMYK: 20.00% cyan, 67.00% magenta, 0.00% yellow, 14.00% black
- XYZ: 31.32, 18.48, 51.82
- Yxy: 18.48, 0.3082, 0.1819
- Hunter Lab: 50.07, 58.93, -57.35
- CIE-Lab: 50.07, 58.93, -57.35
In the XYZ color space, this color is represented as X: 31.32, Y: 18.48, Z: 51.82. The Yxy representation further refines this as Y: 18.48, x: 0.3082, and y: 0.1819.
In the Hunter Lab color space, this color is represented as L: 50.07, a: 58.93, and b: -57.35. Similarly, in the CIE-Lab color space, it is represented as L: 50.07, a: 58.93, and b: -57.35.
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 #AF48DB
Triadic colors are three colors evenly spaced around the color wheel, including #AF48DB. They create vibrant and balanced color schemes, perfect for designs that need contrast and harmony.
Monochromatic Colors of #AF48DB
Monochromatic colors are variations of #AF48DB, including its shades, tints, and tones. They create elegant and minimalistic designs with a unified color theme.
Complementary Color of #AF48DB
The complementary color of #AF48DB 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 #AF48DB
/* Using HEX */ body { background-color: #af48db; }
/* Using RGB */ body { background-color: rgb(175, 72, 219); }
/* Using RGB with opacity */ body { background-color: rgba(175, 72, 219, 0.5); }
/* Using HSL */ body { background-color: hsl(282, 67%, 57%); }
/* Text color */ p { color: #af48db; }
/* Box shadow */ div { box-shadow: 4px 4px #af48db; }
HTML Examples of #AF48DB
<!-- Using HEX --> <div style="background-color: #af48db; width: 100px; height: 100px;"></div>
<!-- Using RGB --> <div style="background-color: rgb(175, 72, 219); width: 100px; height: 100px;"></div>
<!-- Using RGB with opacity --> <div style="background-color: rgba(175, 72, 219, 0.5); width: 100px; height: 100px;"></div>
<!-- Using HSL --> <div style="background-color: hsl(282, 67%, 57%); width: 100px; height: 100px;"></div>
<!-- Text color --> <p style="color: #af48db;">This is a text example.</p>
<!-- Box shadow --> <div style="box-shadow: 4px 4px #af48db; width: 100px; height: 100px;"></div>
Related Colors of #AF48DB
These colors are similar to #AF48DB, with slight variations in hue. Use them to create harmonious designs or explore alternative shades for your projects.