#540cb8 Color Information
In a RGB color space, hex #540cb8 is composed of 32.9% red, 4.7% green and 72.2% blue. Whereas in a CMYK color space, it is composed of 54.3% cyan, 93.5% magenta, 0% yellow and 27.8% black. It has a hue angle of 265.1 degrees, a saturation of 87.8% and a lightness of 38.4%. #540cb8 color hex could be obtained by blending #a818ff with #000071. Closest websafe color is: #6600cc.
-
- R 33
- G 5
- B 72
-
- C 54
- M 93
- Y 0
- K 28
● #540cb8 color description : Strong violet.
#540cb8 Color Conversion
The hexadecimal color #540cb8 has RGB values of R:84, G:12, B:184 and CMYK values of C:0.54, M:0.93, Y:0, K:0.28. Its decimal value is 5508280.
Hex triplet | 540cb8 | #540cb8 |
---|---|---|
RGB Decimal | 84, 12, 184 | rgb(84,12,184) |
RGB Percent | 32.9, 4.7, 72.2 | rgb(32.9%,4.7%,72.2%) |
CMYK | 54, 93, 0, 28 | |
HSL | 265.1°, 87.8, 38.4 | hsl(265.1,87.8%,38.4%) |
HSV (or HSB) | 265.1°, 93.5, 72.2 | |
Web Safe | 6600cc | #6600cc |
CIE-LAB | 28.402, 62.46, -73.267 |
---|---|
XYZ | 12.438, 5.608, 45.772 |
xyY | 0.195, 0.088, 5.608 |
CIE-LCH | 28.402, 96.278, 310.447 |
CIE-LUV | 28.402, 5.496, -93.237 |
Hunter-Lab | 23.682, 52.307, -98.018 |
Binary | 01010100, 00001100, 10111000 |
Color Schemes with #540cb8
Alternatives to #540cb8
Below, you can see some colors close to #540cb8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cb8 Preview
This text has a font color of #540cb8.
<span style="color:#540cb8;">Text here</span>
This paragraph has a background color of #540cb8.
<p style="background-color:#540cb8;">Content here</p>
This element has a border color of #540cb8.
<div style="border:1px solid #540cb8;">Content here</div>
.text {color:#540cb8;}
.background {background-color:#540cb8;}
.border {border:1px solid #540cb8;}
Shades and Tints of #540cb8
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, #080112 is the darkest color, while #ffffff is the lightest one.
-
#080112
#080112
rgb(8,1,18)
-
#110225
#110225
rgb(17,2,37)
-
#190437
#190437
rgb(25,4,55)
-
#22054a
#22054a
rgb(34,5,74)
-
#2a065c
#2a065c
rgb(42,6,92)
-
#32076e
#32076e
rgb(50,7,110)
-
#3b0881
#3b0881
rgb(59,8,129)
-
#430a93
#430a93
rgb(67,10,147)
-
#4c0ba6
#4c0ba6
rgb(76,11,166)
-
#540cb8
#540cb8
rgb(84,12,184)
-
#5c0dca
#5c0dca
rgb(92,13,202)
-
#650edd
#650edd
rgb(101,14,221)
-
#6d10ef
#6d10ef
rgb(109,16,239)
-
#7822f1
#7822f1
rgb(120,34,241)
-
#8434f2
#8434f2
rgb(132,52,242)
-
#8f47f3
#8f47f3
rgb(143,71,243)
-
#9a59f4
#9a59f4
rgb(154,89,244)
-
#a56cf5
#a56cf5
rgb(165,108,245)
-
#b07ef7
#b07ef7
rgb(176,126,247)
-
#bc90f8
#bc90f8
rgb(188,144,248)
-
#c7a3f9
#c7a3f9
rgb(199,163,249)
-
#d2b5fa
#d2b5fa
rgb(210,181,250)
-
#ddc8fb
#ddc8fb
rgb(221,200,251)
-
#e8dafd
#e8dafd
rgb(232,218,253)
-
#f4ecfe
#f4ecfe
rgb(244,236,254)
-
#ffffff
#ffffff
rgb(255,255,255)
Tones of #540cb8
A tone is produced by adding gray to any pure hue. In this case, #615f65 is the less saturated color, while #5304c0 is the most saturated one.
-
#615f65
#615f65
rgb(97,95,101)
-
#60576d
#60576d
rgb(96,87,109)
-
#5f5074
#5f5074
rgb(95,80,116)
-
#5e487c
#5e487c
rgb(94,72,124)
-
#5d4183
#5d4183
rgb(93,65,131)
-
#5b398b
#5b398b
rgb(91,57,139)
-
#5a3292
#5a3292
rgb(90,50,146)
-
#592a9a
#592a9a
rgb(89,42,154)
-
#5823a1
#5823a1
rgb(88,35,161)
-
#561ba9
#561ba9
rgb(86,27,169)
-
#5514b0
#5514b0
rgb(85,20,176)
-
#540cb8
#540cb8
rgb(84,12,184)
-
#5304c0
#5304c0
rgb(83,4,192)
Color Blindness Simulator
Below, you can see how #540cb8 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.