#540f8f hex color
In a RGB color space, hex #540f8f is composed of 32.9% red, 5.9% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 41.3% cyan, 89.5% magenta, 0% yellow and 43.9% black. It has a hue angle of 272.3 degrees, a saturation of 81% and a lightness of 31%. #540f8f color hex could be obtained by blending #a81eff with #00001f. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 56
RGB color chart
-
- C 41
- M 90
- Y 0
- K 44
CMYK color chart
● #540f8f color description : Dark violet.
The hexadecimal color #540f8f has RGB values of R:84, G:15, B:143 and CMYK values of C:0.41, M:0.9, Y:0, K:0.44. Its decimal value is 5509007.
Hex triplet | 540f8f | #540f8f |
---|---|---|
RGB Decimal | 84, 15, 143 | rgb(84,15,143) |
RGB Percent | 32.9, 5.9, 56.1 | rgb(32.9%,5.9%,56.1%) |
CMYK | 41, 90, 0, 44 | |
HSL | 272.3°, 81, 31 | hsl(272.3,81%,31%) |
HSV (or HSB) | 272.3°, 89.5, 56.1 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 24.353, 52.125, -55.036 |
---|---|
XYZ | 8.784, 4.21, 26.335 |
xyY | 0.223, 0.107, 4.21 |
CIE-LCH | 24.353, 75.802, 313.444 |
CIE-LUV | 24.353, 11.066, -68.8 |
Hunter-Lab | 20.518, 40.515, -61.738 |
Binary | 01010100, 00001111, 10001111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540f8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540f8f
This text has a font color of #540f8f.
<span style="color:#540f8f;">Text here</span>
#540f8f background color
This paragraph has a background color of #540f8f.
<p style="background-color:#540f8f;">Content here</p>
#540f8f border color
This element has a border color of #540f8f.
<div style="border:1px solid #540f8f;">Content here</div>
CSS codes
.text {color:#540f8f;}
.background {background-color:#540f8f;}
.border {border:1px solid #540f8f;}
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, #010001 is the darkest color, while #f6eefd is the lightest one.
-
#010001
#010001
rgb(1,0,1)
-
#0b0213
#0b0213
rgb(11,2,19)
-
#150424
#150424
rgb(21,4,36)
-
#200636
#200636
rgb(32,6,54)
-
#2a0848
#2a0848
rgb(42,8,72)
-
#35095a
#35095a
rgb(53,9,90)
-
#3f0b6b
#3f0b6b
rgb(63,11,107)
-
#4a0d7d
#4a0d7d
rgb(74,13,125)
-
#540f8f
#540f8f
rgb(84,15,143)
-
#5e11a1
#5e11a1
rgb(94,17,161)
-
#6913b3
#6913b3
rgb(105,19,179)
-
#7315c4
#7315c4
rgb(115,21,196)
-
#7e16d6
#7e16d6
rgb(126,22,214)
Shade Color Variation
-
#8819e7
#8819e7
rgb(136,25,231)
-
#912be9
#912be9
rgb(145,43,233)
-
#9a3deb
#9a3deb
rgb(154,61,235)
-
#a44eec
#a44eec
rgb(164,78,236)
-
#ad60ee
#ad60ee
rgb(173,96,238)
-
#b672f0
#b672f0
rgb(182,114,240)
-
#bf84f2
#bf84f2
rgb(191,132,242)
-
#c895f4
#c895f4
rgb(200,149,244)
-
#d2a7f6
#d2a7f6
rgb(210,167,246)
-
#dbb9f8
#dbb9f8
rgb(219,185,248)
-
#e4cbfa
#e4cbfa
rgb(228,203,250)
-
#eddcfb
#eddcfb
rgb(237,220,251)
-
#f6eefd
#f6eefd
rgb(246,238,253)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #4f4c52 is the less saturated color, while #55039b is the most saturated one.
-
#4f4c52
#4f4c52
rgb(79,76,82)
-
#504658
#504658
rgb(80,70,88)
-
#50405e
#50405e
rgb(80,64,94)
-
#513a64
#513a64
rgb(81,58,100)
-
#51336b
#51336b
rgb(81,51,107)
-
#522d71
#522d71
rgb(82,45,113)
-
#522777
#522777
rgb(82,39,119)
-
#53217d
#53217d
rgb(83,33,125)
-
#531b83
#531b83
rgb(83,27,131)
-
#541589
#541589
rgb(84,21,137)
-
#540f8f
#540f8f
rgb(84,15,143)
-
#540995
#540995
rgb(84,9,149)
-
#55039b
#55039b
rgb(85,3,155)
Tone Color Variation
Below, you can see how #540f8f 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