#540172 Color Information
In a RGB color space, hex #540172 is composed of 32.9% red, 0.4% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 26.3% cyan, 99.1% magenta, 0% yellow and 55.3% black. It has a hue angle of 284.1 degrees, a saturation of 98.3% and a lightness of 22.5%. #540172 color hex could be obtained by blending #a802e4 with #000000. Closest websafe color is: #660066.
-
- R 33
- G 0
- B 45
-
- C 26
- M 99
- Y 0
- K 55
● #540172 color description : Very dark violet.
#540172 Color Conversion
The hexadecimal color #540172 has RGB values of R:84, G:1, B:114 and CMYK values of C:0.26, M:0.99, Y:0, K:0.55. Its decimal value is 5505394.
Hex triplet | 540172 | #540172 |
---|---|---|
RGB Decimal | 84, 1, 114 | rgb(84,1,114) |
RGB Percent | 32.9, 0.4, 44.7 | rgb(32.9%,0.4%,44.7%) |
CMYK | 26, 99, 0, 55 | |
HSL | 284.1°, 98.3, 22.5 | hsl(284.1,98.3%,22.5%) |
HSV (or HSB) | 284.1°, 99.1, 44.7 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 20.525, 49.151, -42.934 |
---|---|
XYZ | 6.704, 3.122, 16.168 |
xyY | 0.258, 0.12, 3.122 |
CIE-LCH | 20.525, 65.262, 318.862 |
CIE-LUV | 20.525, 17.336, -51.492 |
Hunter-Lab | 17.668, 36.809, -41.888 |
Binary | 01010100, 00000001, 01110010 |
Color Schemes with #540172
Alternatives to #540172
Below, you can see some colors close to #540172. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540172 Preview
This text has a font color of #540172.
<span style="color:#540172;">Text here</span>
This paragraph has a background color of #540172.
<p style="background-color:#540172;">Content here</p>
This element has a border color of #540172.
<div style="border:1px solid #540172;">Content here</div>
.text {color:#540172;}
.background {background-color:#540172;}
.border {border:1px solid #540172;}
Shades and Tints of #540172
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, #0c0011 is the darkest color, while #fefcff is the lightest one.
-
#0c0011
#0c0011
rgb(12,0,17)
-
#1b0024
#1b0024
rgb(27,0,36)
-
#290038
#290038
rgb(41,0,56)
-
#37014b
#37014b
rgb(55,1,75)
-
#46015f
#46015f
rgb(70,1,95)
-
#540172
#540172
rgb(84,1,114)
-
#620185
#620185
rgb(98,1,133)
-
#710199
#710199
rgb(113,1,153)
-
#7f02ac
#7f02ac
rgb(127,2,172)
-
#8d02c0
#8d02c0
rgb(141,2,192)
-
#9c02d3
#9c02d3
rgb(156,2,211)
-
#aa02e7
#aa02e7
rgb(170,2,231)
-
#b802fa
#b802fa
rgb(184,2,250)
-
#bf13fd
#bf13fd
rgb(191,19,253)
-
#c426fd
#c426fd
rgb(196,38,253)
-
#c93afd
#c93afd
rgb(201,58,253)
-
#cf4dfd
#cf4dfd
rgb(207,77,253)
-
#d461fe
#d461fe
rgb(212,97,254)
-
#d974fe
#d974fe
rgb(217,116,254)
-
#df88fe
#df88fe
rgb(223,136,254)
-
#e49bfe
#e49bfe
rgb(228,155,254)
-
#e9affe
#e9affe
rgb(233,175,254)
-
#eec2fe
#eec2fe
rgb(238,194,254)
-
#f4d5ff
#f4d5ff
rgb(244,213,255)
-
#f9e9ff
#f9e9ff
rgb(249,233,255)
-
#fefcff
#fefcff
rgb(254,252,255)
Tones of #540172
A tone is produced by adding gray to any pure hue. In this case, #3b363d is the less saturated color, while #540172 is the most saturated one.
-
#3b363d
#3b363d
rgb(59,54,61)
-
#3d3241
#3d3241
rgb(61,50,65)
-
#3f2d46
#3f2d46
rgb(63,45,70)
-
#41294a
#41294a
rgb(65,41,74)
-
#43244f
#43244f
rgb(67,36,79)
-
#452053
#452053
rgb(69,32,83)
-
#481c57
#481c57
rgb(72,28,87)
-
#4a175c
#4a175c
rgb(74,23,92)
-
#4c1360
#4c1360
rgb(76,19,96)
-
#4e0e65
#4e0e65
rgb(78,14,101)
-
#500a69
#500a69
rgb(80,10,105)
-
#52056e
#52056e
rgb(82,5,110)
-
#540172
#540172
rgb(84,1,114)
Color Blindness Simulator
Below, you can see how #540172 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.