#540371 hex color
In a RGB color space, hex #540371 is composed of 32.9% red, 1.2% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 25.7% cyan, 97.3% magenta, 0% yellow and 55.7% black. It has a hue angle of 284.2 degrees, a saturation of 94.8% and a lightness of 22.7%. #540371 color hex could be obtained by blending #a806e2 with #000000. Closest websafe color is: #660066.
-
- R 33
- G 1
- B 44
RGB color chart
-
- C 26
- M 97
- Y 0
- K 56
CMYK color chart
● #540371 color description : Very dark violet.
The hexadecimal color #540371 has RGB values of R:84, G:3, B:113 and CMYK values of C:0.26, M:0.97, Y:0, K:0.56. Its decimal value is 5505905.
Hex triplet | 540371 | #540371 |
---|---|---|
RGB Decimal | 84, 3, 113 | rgb(84,3,113) |
RGB Percent | 32.9, 1.2, 44.3 | rgb(32.9%,1.2%,44.3%) |
CMYK | 26, 97, 0, 56 | |
HSL | 284.2°, 94.8, 22.7 | hsl(284.2,94.8%,22.7%) |
HSV (or HSB) | 284.2°, 97.3, 44.3 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 20.606, 48.443, -42.156 |
---|---|
XYZ | 6.669, 3.142, 15.877 |
xyY | 0.26, 0.122, 3.142 |
CIE-LCH | 20.606, 64.217, 318.97 |
CIE-LUV | 20.606, 17.449, -50.768 |
Hunter-Lab | 17.727, 36.13, -40.694 |
Binary | 01010100, 00000011, 01110001 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #540371. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540371
This text has a font color of #540371.
<span style="color:#540371;">Text here</span>
#540371 background color
This paragraph has a background color of #540371.
<p style="background-color:#540371;">Content here</p>
#540371 border color
This element has a border color of #540371.
<div style="border:1px solid #540371;">Content here</div>
CSS codes
.text {color:#540371;}
.background {background-color:#540371;}
.border {border:1px solid #540371;}
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, #0d0011 is the darkest color, while #fffdff is the lightest one.
-
#0d0011
#0d0011
rgb(13,0,17)
-
#1b0125
#1b0125
rgb(27,1,37)
-
#290138
#290138
rgb(41,1,56)
-
#38024b
#38024b
rgb(56,2,75)
-
#46025e
#46025e
rgb(70,2,94)
-
#540371
#540371
rgb(84,3,113)
-
#620484
#620484
rgb(98,4,132)
-
#700497
#700497
rgb(112,4,151)
-
#7f05aa
#7f05aa
rgb(127,5,170)
-
#8d05bd
#8d05bd
rgb(141,5,189)
-
#9b06d1
#9b06d1
rgb(155,6,209)
-
#a906e4
#a906e4
rgb(169,6,228)
-
#b707f7
#b707f7
rgb(183,7,247)
Shade Color Variation
-
#be18f9
#be18f9
rgb(190,24,249)
-
#c32bf9
#c32bf9
rgb(195,43,249)
-
#c83efa
#c83efa
rgb(200,62,250)
-
#ce51fa
#ce51fa
rgb(206,81,250)
-
#d364fb
#d364fb
rgb(211,100,251)
-
#d978fb
#d978fb
rgb(217,120,251)
-
#de8bfc
#de8bfc
rgb(222,139,252)
-
#e39efc
#e39efc
rgb(227,158,252)
-
#e9b1fd
#e9b1fd
rgb(233,177,253)
-
#eec4fd
#eec4fd
rgb(238,196,253)
-
#f4d7fe
#f4d7fe
rgb(244,215,254)
-
#f9eafe
#f9eafe
rgb(249,234,254)
-
#fffdff
#fffdff
rgb(255,253,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #3b393b is the less saturated color, while #540371 is the most saturated one.
-
#3b393b
#3b393b
rgb(59,57,59)
-
#3d3440
#3d3440
rgb(61,52,64)
-
#3f3044
#3f3044
rgb(63,48,68)
-
#412b49
#412b49
rgb(65,43,73)
-
#43274d
#43274d
rgb(67,39,77)
-
#452252
#452252
rgb(69,34,82)
-
#471e56
#471e56
rgb(71,30,86)
-
#49195b
#49195b
rgb(73,25,91)
-
#4c155f
#4c155f
rgb(76,21,95)
-
#4e1064
#4e1064
rgb(78,16,100)
-
#500c68
#500c68
rgb(80,12,104)
-
#52076d
#52076d
rgb(82,7,109)
-
#540371
#540371
rgb(84,3,113)
Tone Color Variation
Below, you can see how #540371 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