#540cb5 Color Information
In a RGB color space, hex #540cb5 is composed of 32.9% red, 4.7% green and 71% blue. Whereas in a CMYK color space, it is composed of 53.6% cyan, 93.4% magenta, 0% yellow and 29% black. It has a hue angle of 265.6 degrees, a saturation of 87.6% and a lightness of 37.8%. #540cb5 color hex could be obtained by blending #a818ff with #00006b. Closest websafe color is: #6600cc.
-
- R 33
- G 5
- B 71
-
- C 54
- M 93
- Y 0
- K 29
● #540cb5 color description : Strong violet.
#540cb5 Color Conversion
The hexadecimal color #540cb5 has RGB values of R:84, G:12, B:181 and CMYK values of C:0.54, M:0.93, Y:0, K:0.29. Its decimal value is 5508277.
| Hex triplet | 540cb5 | #540cb5 |
|---|---|---|
| RGB Decimal | 84, 12, 181 | rgb(84,12,181) |
| RGB Percent | 32.9, 4.7, 71 | rgb(32.9%,4.7%,71%) |
| CMYK | 54, 93, 0, 29 | |
| HSL | 265.6°, 87.6, 37.8 | hsl(265.6,87.6%,37.8%) |
| HSV (or HSB) | 265.6°, 93.4, 71 | |
| Web Safe | 6600cc | #6600cc |
| CIE-LAB | 28.071, 61.752, -72.028 |
|---|---|
| XYZ | 12.127, 5.484, 44.133 |
| xyY | 0.196, 0.089, 5.484 |
| CIE-LCH | 28.071, 94.875, 310.607 |
| CIE-LUV | 28.071, 5.857, -91.489 |
| Hunter-Lab | 23.417, 51.455, -95.347 |
| Binary | 01010100, 00001100, 10110101 |
Color Schemes with #540cb5
Alternatives to #540cb5
Below, you can see some colors close to #540cb5. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cb5 Preview
This text has a font color of #540cb5.
<span style="color:#540cb5;">Text here</span>
This paragraph has a background color of #540cb5.
<p style="background-color:#540cb5;">Content here</p>
This element has a border color of #540cb5.
<div style="border:1px solid #540cb5;">Content here</div>
.text {color:#540cb5;}
.background {background-color:#540cb5;}
.border {border:1px solid #540cb5;}
Shades and Tints of #540cb5
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #07010f is the darkest color, while #fdfcff is the lightest one.
-
#07010f
#07010frgb(7,1,15) -
#100222
#100222rgb(16,2,34) -
#180334
#180334rgb(24,3,52) -
#210547
#210547rgb(33,5,71) -
#290659
#290659rgb(41,6,89) -
#32076b
#32076brgb(50,7,107) -
#3a087e
#3a087ergb(58,8,126) -
#430a90
#430a90rgb(67,10,144) -
#4b0ba3
#4b0ba3rgb(75,11,163) -
#540cb5
#540cb5rgb(84,12,181) -
#5d0dc7
#5d0dc7rgb(93,13,199) -
#650eda
#650edargb(101,14,218) -
#6e10ec
#6e10ecrgb(110,16,236)
-
#781ff0
#781ff0rgb(120,31,240) -
#8332f1
#8332f1rgb(131,50,241) -
#8e44f3
#8e44f3rgb(142,68,243) -
#9a56f4
#9a56f4rgb(154,86,244) -
#a569f5
#a569f5rgb(165,105,245) -
#b07bf6
#b07bf6rgb(176,123,246) -
#bb8ef7
#bb8ef7rgb(187,142,247) -
#c6a0f9
#c6a0f9rgb(198,160,249) -
#d1b2fa
#d1b2fargb(209,178,250) -
#dcc5fb
#dcc5fbrgb(220,197,251) -
#e7d7fc
#e7d7fcrgb(231,215,252) -
#f2eafe
#f2eafergb(242,234,254) -
#fdfcff
#fdfcffrgb(253,252,255)
Tones of #540cb5
A tone is produced by adding gray to any pure hue. In this case, #605e63 is the less saturated color, while #5305bc is the most saturated one.
-
#605e63
#605e63rgb(96,94,99) -
#5f566b
#5f566brgb(95,86,107) -
#5e4f72
#5e4f72rgb(94,79,114) -
#5d477a
#5d477argb(93,71,122) -
#5c4081
#5c4081rgb(92,64,129) -
#5b3988
#5b3988rgb(91,57,136) -
#593190
#593190rgb(89,49,144) -
#582a97
#582a97rgb(88,42,151) -
#57229f
#57229frgb(87,34,159) -
#561ba6
#561ba6rgb(86,27,166) -
#5513ae
#5513aergb(85,19,174) -
#540cb5
#540cb5rgb(84,12,181) -
#5305bc
#5305bcrgb(83,5,188)
Color Blindness Simulator
Below, you can see how #540cb5 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
