#540cb4 Color Information
In a RGB color space, hex #540cb4 is composed of 32.9% red, 4.7% green and 70.6% blue. Whereas in a CMYK color space, it is composed of 53.3% cyan, 93.3% magenta, 0% yellow and 29.4% black. It has a hue angle of 265.7 degrees, a saturation of 87.5% and a lightness of 37.6%. #540cb4 color hex could be obtained by blending #a818ff with #000069. Closest websafe color is: #6600cc.
-
- R 33
- G 5
- B 71
-
- C 53
- M 93
- Y 0
- K 29
● #540cb4 color description : Strong violet.
#540cb4 Color Conversion
The hexadecimal color #540cb4 has RGB values of R:84, G:12, B:180 and CMYK values of C:0.53, M:0.93, Y:0, K:0.29. Its decimal value is 5508276.
Hex triplet | 540cb4 | #540cb4 |
---|---|---|
RGB Decimal | 84, 12, 180 | rgb(84,12,180) |
RGB Percent | 32.9, 4.7, 70.6 | rgb(32.9%,4.7%,70.6%) |
CMYK | 53, 93, 0, 29 | |
HSL | 265.7°, 87.5, 37.6 | hsl(265.7,87.5%,37.6%) |
HSV (or HSB) | 265.7°, 93.3, 70.6 | |
Web Safe | 6600cc | #6600cc |
CIE-LAB | 27.961, 61.516, -71.613 |
---|---|
XYZ | 12.024, 5.443, 43.595 |
xyY | 0.197, 0.089, 5.443 |
CIE-LCH | 27.961, 94.407, 310.663 |
CIE-LUV | 27.961, 5.98, -90.906 |
Hunter-Lab | 23.33, 51.173, -94.459 |
Binary | 01010100, 00001100, 10110100 |
Color Schemes with #540cb4
Alternatives to #540cb4
Below, you can see some colors close to #540cb4. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cb4 Preview
This text has a font color of #540cb4.
<span style="color:#540cb4;">Text here</span>
This paragraph has a background color of #540cb4.
<p style="background-color:#540cb4;">Content here</p>
This element has a border color of #540cb4.
<div style="border:1px solid #540cb4;">Content here</div>
.text {color:#540cb4;}
.background {background-color:#540cb4;}
.border {border:1px solid #540cb4;}
Shades and Tints of #540cb4
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, #07010e is the darkest color, while #fdfbff is the lightest one.
-
#07010e
#07010e
rgb(7,1,14)
-
#0f0221
#0f0221
rgb(15,2,33)
-
#180333
#180333
rgb(24,3,51)
-
#210546
#210546
rgb(33,5,70)
-
#290658
#290658
rgb(41,6,88)
-
#32076a
#32076a
rgb(50,7,106)
-
#3a087d
#3a087d
rgb(58,8,125)
-
#430a8f
#430a8f
rgb(67,10,143)
-
#4b0ba2
#4b0ba2
rgb(75,11,162)
-
#540cb4
#540cb4
rgb(84,12,180)
-
#5d0dc6
#5d0dc6
rgb(93,13,198)
-
#650ed9
#650ed9
rgb(101,14,217)
-
#6e10eb
#6e10eb
rgb(110,16,235)
-
#781ef0
#781ef0
rgb(120,30,240)
-
#8331f1
#8331f1
rgb(131,49,241)
-
#8e43f2
#8e43f2
rgb(142,67,242)
-
#9956f4
#9956f4
rgb(153,86,244)
-
#a468f5
#a468f5
rgb(164,104,245)
-
#af7af6
#af7af6
rgb(175,122,246)
-
#ba8df7
#ba8df7
rgb(186,141,247)
-
#c59ff9
#c59ff9
rgb(197,159,249)
-
#d1b2fa
#d1b2fa
rgb(209,178,250)
-
#dcc4fb
#dcc4fb
rgb(220,196,251)
-
#e7d6fc
#e7d6fc
rgb(231,214,252)
-
#f2e9fe
#f2e9fe
rgb(242,233,254)
-
#fdfbff
#fdfbff
rgb(253,251,255)
Tones of #540cb4
A tone is produced by adding gray to any pure hue. In this case, #605d63 is the less saturated color, while #5305bb is the most saturated one.
-
#605d63
#605d63
rgb(96,93,99)
-
#5f566a
#5f566a
rgb(95,86,106)
-
#5d4e72
#5d4e72
rgb(93,78,114)
-
#5c4779
#5c4779
rgb(92,71,121)
-
#5b4080
#5b4080
rgb(91,64,128)
-
#5a3888
#5a3888
rgb(90,56,136)
-
#59318f
#59318f
rgb(89,49,143)
-
#582a96
#582a96
rgb(88,42,150)
-
#57229e
#57229e
rgb(87,34,158)
-
#561ba5
#561ba5
rgb(86,27,165)
-
#5513ad
#5513ad
rgb(85,19,173)
-
#540cb4
#540cb4
rgb(84,12,180)
-
#5305bb
#5305bb
rgb(83,5,187)
Color Blindness Simulator
Below, you can see how #540cb4 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.