In RGB color space, #510aa6 hex color has a red value of 81, a green value of 10 and a blue value of 166.
In CMYK color space (used in color printing), #510aa6 hex color is composed of 51.2% cyan, 93.98% magenta, 0% yellow and 34.9% black.
#510aa6 color has a hue of 267.3 degrees, a saturation of 88.64% and a lightness of 34.5%.
#510aa6 hex color contains mainly BLUE.
The closest web safe color of #510aa6 is #660099
#510aa6 hex color has a decimal value of 5311142.
HEX | 510aa6 | #510aa6 |
---|---|---|
RGB | 81, 10, 166 | rgb(81, 10, 166) |
RGB Percent | 31.76, 3.92, 65.1 | rgb(31.76, 3.92, 65.1) |
CMYK | 51, 94, 0, 35 | |
HSL | 267.3°, 88.64, 34.5 | hsl(267.3, 88.64%, 34.5%) |
HSV | 267.3°, 94, 65.1 |
XYZ | 10.385, 4.72, 36.44 |
---|---|
Hunter Lab | 21.726, 47.305, -84.238 |
CIE-LAB | 25.922, 58.337, -66.579 |
CIE-LCH | 25.922, 88.521, 311.225 |
CIE-LUV | 51.2, 93.98, 0, 34.9 |
Web Safe | 660099 |
RGB percent of color #510aa6
CMYK percent of color #510aa6
Text with hexadecimal color #510aa6
This text has a font color of #510aa6
<p style="color:#510aa6">Text here</p>
#510aa6 Background Color
This box has a background color of #510aa6
<div style="background-color:#510aa6">Text here</div>
#510aa6 Border Color
This box has a border color of #510aa6
<div style="border: 4px solid #510aa6">Text here</div>
CSS codes
<p style="color:#510aa6">Text here</p>
<div style="background-color:#510aa6">Text here</div>
<div style="border: 4px solid #510aa6">Text here</div>
#510aa6 Color on white background
This is how a font and box color of #510aa6 will look
on a white background.
#510aa6 Color on black background
This is how a font and box color of #510aa6 hex color will look
on a black background.