#540ba2 Color Information
In a RGB color space, hex #540ba2 is composed of 32.9% red, 4.3% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 48.1% cyan, 93.2% magenta, 0% yellow and 36.5% black. It has a hue angle of 269 degrees, a saturation of 87.3% and a lightness of 33.9%. #540ba2 color hex could be obtained by blending #a816ff with #000045. Closest websafe color is: #660099.
-
- R 33
- G 4
- B 64
-
- C 48
- M 93
- Y 0
- K 36
● #540ba2 color description : Dark violet.
#540ba2 Color Conversion
The hexadecimal color #540ba2 has RGB values of R:84, G:11, B:162 and CMYK values of C:0.48, M:0.93, Y:0, K:0.36. Its decimal value is 5508002.
Hex triplet | 540ba2 | #540ba2 |
---|---|---|
RGB Decimal | 84, 11, 162 | rgb(84,11,162) |
RGB Percent | 32.9, 4.3, 63.5 | rgb(32.9%,4.3%,63.5%) |
CMYK | 48, 93, 0, 36 | |
HSL | 269°, 87.3, 33.9 | hsl(269,87.3%,33.9%) |
HSV (or HSB) | 269°, 93.2, 63.5 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.959, 57.492, -64.072 |
---|---|
XYZ | 10.296, 4.733, 34.551 |
xyY | 0.208, 0.095, 4.733 |
CIE-LCH | 25.959, 86.085, 311.902 |
CIE-LUV | 25.959, 8.387, -80.326 |
Hunter-Lab | 21.755, 46.411, -78.937 |
Binary | 01010100, 00001011, 10100010 |
Color Schemes with #540ba2
Alternatives to #540ba2
Below, you can see some colors close to #540ba2. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ba2 Preview
This text has a font color of #540ba2.
<span style="color:#540ba2;">Text here</span>
This paragraph has a background color of #540ba2.
<p style="background-color:#540ba2;">Content here</p>
This element has a border color of #540ba2.
<div style="border:1px solid #540ba2;">Content here</div>
.text {color:#540ba2;}
.background {background-color:#540ba2;}
.border {border:1px solid #540ba2;}
Shades and Tints of #540ba2
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, #08010f is the darkest color, while #fdfcff is the lightest one.
-
#08010f
#08010f
rgb(8,1,15)
-
#110221
#110221
rgb(17,2,33)
-
#1b0434
#1b0434
rgb(27,4,52)
-
#240546
#240546
rgb(36,5,70)
-
#2e0659
#2e0659
rgb(46,6,89)
-
#37076b
#37076b
rgb(55,7,107)
-
#41097d
#41097d
rgb(65,9,125)
-
#4a0a90
#4a0a90
rgb(74,10,144)
-
#540ba2
#540ba2
rgb(84,11,162)
-
#5e0cb4
#5e0cb4
rgb(94,12,180)
-
#670dc7
#670dc7
rgb(103,13,199)
-
#710fd9
#710fd9
rgb(113,15,217)
-
#7a10eb
#7a10eb
rgb(122,16,235)
-
#841ff0
#841ff0
rgb(132,31,240)
-
#8e32f1
#8e32f1
rgb(142,50,241)
-
#9844f2
#9844f2
rgb(152,68,242)
-
#a256f4
#a256f4
rgb(162,86,244)
-
#ac69f5
#ac69f5
rgb(172,105,245)
-
#b77bf6
#b77bf6
rgb(183,123,246)
-
#c18df7
#c18df7
rgb(193,141,247)
-
#cba0f9
#cba0f9
rgb(203,160,249)
-
#d5b2fa
#d5b2fa
rgb(213,178,250)
-
#dfc5fb
#dfc5fb
rgb(223,197,251)
-
#e9d7fc
#e9d7fc
rgb(233,215,252)
-
#f3e9fe
#f3e9fe
rgb(243,233,254)
-
#fdfcff
#fdfcff
rgb(253,252,255)
Tones of #540ba2
A tone is produced by adding gray to any pure hue. In this case, #565459 is the less saturated color, while #5404a9 is the most saturated one.
-
#565459
#565459
rgb(86,84,89)
-
#564e5f
#564e5f
rgb(86,78,95)
-
#564766
#564766
rgb(86,71,102)
-
#56406d
#56406d
rgb(86,64,109)
-
#563a73
#563a73
rgb(86,58,115)
-
#55337a
#55337a
rgb(85,51,122)
-
#552c81
#552c81
rgb(85,44,129)
-
#552687
#552687
rgb(85,38,135)
-
#551f8e
#551f8e
rgb(85,31,142)
-
#541895
#541895
rgb(84,24,149)
-
#54129b
#54129b
rgb(84,18,155)
-
#540ba2
#540ba2
rgb(84,11,162)
-
#5404a9
#5404a9
rgb(84,4,169)
Color Blindness Simulator
Below, you can see how #540ba2 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.