#540fab hex color
In a RGB color space, hex #540fab is composed of 32.9% red, 5.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 50.9% cyan, 91.2% magenta, 0% yellow and 32.9% black. It has a hue angle of 266.5 degrees, a saturation of 83.9% and a lightness of 36.5%. #540fab color hex could be obtained by blending #a81eff with #000057. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 67
RGB color chart
-
- C 51
- M 91
- Y 0
- K 33
CMYK color chart
● #540fab color description : Dark violet.
The hexadecimal color #540fab has RGB values of R:84, G:15, B:171 and CMYK values of C:0.51, M:0.91, Y:0, K:0.33. Its decimal value is 5509035.
Hex triplet | 540fab | #540fab |
---|---|---|
RGB Decimal | 84, 15, 171 | rgb(84,15,171) |
RGB Percent | 32.9, 5.9, 67.1 | rgb(32.9%,5.9%,67.1%) |
CMYK | 51, 91, 0, 33 | |
HSL | 266.5°, 83.9, 36.5 | hsl(266.5,83.9%,36.5%) |
HSV (or HSB) | 266.5°, 91.2, 67.1 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 27.204, 58.732, -67.466 |
---|---|
XYZ | 11.176, 5.167, 38.934 |
xyY | 0.202, 0.093, 5.167 |
CIE-LCH | 27.204, 89.449, 311.041 |
CIE-LUV | 27.204, 6.977, -85.598 |
Hunter-Lab | 22.73, 47.99, -85.646 |
Binary | 01010100, 00001111, 10101011 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540fab. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540fab
This text has a font color of #540fab.
<span style="color:#540fab;">Text here</span>
#540fab background color
This paragraph has a background color of #540fab.
<p style="background-color:#540fab;">Content here</p>
#540fab border color
This element has a border color of #540fab.
<div style="border:1px solid #540fab;">Content here</div>
CSS codes
.text {color:#540fab;}
.background {background-color:#540fab;}
.border {border:1px solid #540fab;}
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, #040109 is the darkest color, while #f9f6fe is the lightest one.
-
#040109
#040109
rgb(4,1,9)
-
#0d021b
#0d021b
rgb(13,2,27)
-
#16042d
#16042d
rgb(22,4,45)
-
#1f063f
#1f063f
rgb(31,6,63)
-
#280751
#280751
rgb(40,7,81)
-
#310963
#310963
rgb(49,9,99)
-
#390a75
#390a75
rgb(57,10,117)
-
#420c87
#420c87
rgb(66,12,135)
-
#4b0d99
#4b0d99
rgb(75,13,153)
-
#540fab
#540fab
rgb(84,15,171)
-
#5d11bd
#5d11bd
rgb(93,17,189)
-
#6612cf
#6612cf
rgb(102,18,207)
-
#6f14e1
#6f14e1
rgb(111,20,225)
Shade Color Variation
-
#781deb
#781deb
rgb(120,29,235)
-
#832fed
#832fed
rgb(131,47,237)
-
#8e41ee
#8e41ee
rgb(142,65,238)
-
#9953f0
#9953f0
rgb(153,83,240)
-
#a365f2
#a365f2
rgb(163,101,242)
-
#ae77f3
#ae77f3
rgb(174,119,243)
-
#b989f5
#b989f5
rgb(185,137,245)
-
#c49bf6
#c49bf6
rgb(196,155,246)
-
#ceaef8
#ceaef8
rgb(206,174,248)
-
#d9c0f9
#d9c0f9
rgb(217,192,249)
-
#e4d2fb
#e4d2fb
rgb(228,210,251)
-
#efe4fd
#efe4fd
rgb(239,228,253)
-
#f9f6fe
#f9f6fe
rgb(249,246,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #5c5763 is the less saturated color, while #5201b9 is the most saturated one.
-
#5c5763
#5c5763
rgb(92,87,99)
-
#5b4f6b
#5b4f6b
rgb(91,79,107)
-
#5b4872
#5b4872
rgb(91,72,114)
-
#5a4179
#5a4179
rgb(90,65,121)
-
#593a80
#593a80
rgb(89,58,128)
-
#583387
#583387
rgb(88,51,135)
-
#572c8e
#572c8e
rgb(87,44,142)
-
#562496
#562496
rgb(86,36,150)
-
#561d9d
#561d9d
rgb(86,29,157)
-
#5516a4
#5516a4
rgb(85,22,164)
-
#540fab
#540fab
rgb(84,15,171)
-
#5308b2
#5308b2
rgb(83,8,178)
-
#5201b9
#5201b9
rgb(82,1,185)
Tone Color Variation
Below, you can see how #540fab 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.
Monochromacy
Dichromacy