In RGB color space, #540fa1 hex color has a red value of 84, a green value of 15 and a blue value of 161.
In CMYK color space (used in color printing), #540fa1 hex color is composed of 47.83% cyan, 90.68% magenta, 0% yellow and 36.86% black.
#540fa1 color has a hue of 268.4 degrees, a saturation of 82.95% and a lightness of 34.5%.
#540fa1 hex color contains mainly BLUE.
The closest web safe color of #540fa1 is #660099
#540fa1 hex color has a decimal value of 5509025.
HEX | 540fa1 | #540fa1 |
---|---|---|
RGB | 84, 15, 161 | rgb(84, 15, 161) |
RGB Percent | 32.94, 5.88, 63.14 | rgb(32.94, 5.88, 63.14) |
CMYK | 48, 91, 0, 37 | |
HSL | 268.4°, 82.95, 34.5 | hsl(268.4, 82.95%, 34.5%) |
HSV | 268.4°, 90.7, 63.1 |
XYZ | 10.26, 4.8, 34.104 |
---|---|
Hunter Lab | 21.909, 45.251, -76.956 |
CIE-LAB | 26.157, 56.359, -63.14 |
CIE-LCH | 26.157, 84.634, 311.752 |
CIE-LUV | 47.83, 90.68, 0, 36.86 |
Web Safe | 660099 |
RGB percent of color #540fa1
CMYK percent of color #540fa1
Text with hexadecimal color #540fa1
This text has a font color of #540fa1
<p style="color:#540fa1">Text here</p>
#540fa1 Background Color
This box has a background color of #540fa1
<div style="background-color:#540fa1">Text here</div>
#540fa1 Border Color
This box has a border color of #540fa1
<div style="border: 4px solid #540fa1">Text here</div>
CSS codes
<p style="color:#540fa1">Text here</p>
<div style="background-color:#540fa1">Text here</div>
<div style="border: 4px solid #540fa1">Text here</div>
#540fa1 Color on white background
This is how a font and box color of #540fa1 will look
on a white background.
#540fa1 Color on black background
This is how a font and box color of #540fa1 hex color will look
on a black background.