#540cb2 Color Information
In a RGB color space, hex #540cb2 is composed of 32.9% red, 4.7% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 52.8% cyan, 93.3% magenta, 0% yellow and 30.2% black. It has a hue angle of 266 degrees, a saturation of 87.4% and a lightness of 37.3%. #540cb2 color hex could be obtained by blending #a818ff with #000065. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 70
-
- C 53
- M 93
- Y 0
- K 30
● #540cb2 color description : Dark violet.
#540cb2 Color Conversion
The hexadecimal color #540cb2 has RGB values of R:84, G:12, B:178 and CMYK values of C:0.53, M:0.93, Y:0, K:0.3. Its decimal value is 5508274.
Hex triplet | 540cb2 | #540cb2 |
---|---|---|
RGB Decimal | 84, 12, 178 | rgb(84,12,178) |
RGB Percent | 32.9, 4.7, 69.8 | rgb(32.9%,4.7%,69.8%) |
CMYK | 53, 93, 0, 30 | |
HSL | 266°, 87.4, 37.3 | hsl(266,87.4%,37.3%) |
HSV (or HSB) | 266°, 93.3, 69.8 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 27.742, 61.044, -70.78 |
---|---|
XYZ | 11.822, 5.362, 42.529 |
xyY | 0.198, 0.09, 5.362 |
CIE-LCH | 27.742, 93.467, 310.776 |
CIE-LUV | 27.742, 6.227, -89.737 |
Hunter-Lab | 23.156, 50.609, -92.685 |
Binary | 01010100, 00001100, 10110010 |
Color Schemes with #540cb2
Alternatives to #540cb2
Below, you can see some colors close to #540cb2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540cb2 Preview
This text has a font color of #540cb2.
<span style="color:#540cb2;">Text here</span>
This paragraph has a background color of #540cb2.
<p style="background-color:#540cb2;">Content here</p>
This element has a border color of #540cb2.
<div style="border:1px solid #540cb2;">Content here</div>
.text {color:#540cb2;}
.background {background-color:#540cb2;}
.border {border:1px solid #540cb2;}
Shades and Tints of #540cb2
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, #06010d is the darkest color, while #fcf9ff is the lightest one.
-
#06010d
#06010d
rgb(6,1,13)
-
#0f021f
#0f021f
rgb(15,2,31)
-
#170331
#170331
rgb(23,3,49)
-
#200544
#200544
rgb(32,5,68)
-
#290656
#290656
rgb(41,6,86)
-
#310768
#310768
rgb(49,7,104)
-
#3a087b
#3a087b
rgb(58,8,123)
-
#430a8d
#430a8d
rgb(67,10,141)
-
#4b0ba0
#4b0ba0
rgb(75,11,160)
-
#540cb2
#540cb2
rgb(84,12,178)
-
#5d0dc4
#5d0dc4
rgb(93,13,196)
-
#650ed7
#650ed7
rgb(101,14,215)
-
#6e10e9
#6e10e9
rgb(110,16,233)
-
#781df0
#781df0
rgb(120,29,240)
-
#832ff1
#832ff1
rgb(131,47,241)
-
#8e41f2
#8e41f2
rgb(142,65,242)
-
#9954f3
#9954f3
rgb(153,84,243)
-
#a466f5
#a466f5
rgb(164,102,245)
-
#af79f6
#af79f6
rgb(175,121,246)
-
#ba8bf7
#ba8bf7
rgb(186,139,247)
-
#c59df8
#c59df8
rgb(197,157,248)
-
#d0b0fa
#d0b0fa
rgb(208,176,250)
-
#dbc2fb
#dbc2fb
rgb(219,194,251)
-
#e6d4fc
#e6d4fc
rgb(230,212,252)
-
#f1e7fd
#f1e7fd
rgb(241,231,253)
-
#fcf9ff
#fcf9ff
rgb(252,249,255)
Tones of #540cb2
A tone is produced by adding gray to any pure hue. In this case, #5f5c62 is the less saturated color, while #5305b9 is the most saturated one.
-
#5f5c62
#5f5c62
rgb(95,92,98)
-
#5e5569
#5e5569
rgb(94,85,105)
-
#5d4e70
#5d4e70
rgb(93,78,112)
-
#5c4678
#5c4678
rgb(92,70,120)
-
#5b3f7f
#5b3f7f
rgb(91,63,127)
-
#5a3886
#5a3886
rgb(90,56,134)
-
#59318d
#59318d
rgb(89,49,141)
-
#582995
#582995
rgb(88,41,149)
-
#57229c
#57229c
rgb(87,34,156)
-
#561ba3
#561ba3
rgb(86,27,163)
-
#5513ab
#5513ab
rgb(85,19,171)
-
#540cb2
#540cb2
rgb(84,12,178)
-
#5305b9
#5305b9
rgb(83,5,185)
Color Blindness Simulator
Below, you can see how #540cb2 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.