#540c74 hex color
In a RGB color space, hex #540c74 is composed of 32.9% red, 4.7% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 27.6% cyan, 89.7% magenta, 0% yellow and 54.5% black. It has a hue angle of 281.5 degrees, a saturation of 81.3% and a lightness of 25.1%. #540c74 color hex could be obtained by blending #a818e8 with #000000. Closest websafe color is: #660066.
-
- R 33
- G 5
- B 45
RGB color chart
-
- C 28
- M 90
- Y 0
- K 55
CMYK color chart
● #540c74 color description : Dark violet.
The hexadecimal color #540c74 has RGB values of R:84, G:12, B:116 and CMYK values of C:0.28, M:0.9, Y:0, K:0.55. Its decimal value is 5508212.
Hex triplet | 540c74 | #540c74 |
---|---|---|
RGB Decimal | 84, 12, 116 | rgb(84,12,116) |
RGB Percent | 32.9, 4.7, 45.5 | rgb(32.9%,4.7%,45.5%) |
CMYK | 28, 90, 0, 55 | |
HSL | 281.5°, 81.3, 25.1 | hsl(281.5,81.3%,25.1%) |
HSV (or HSB) | 281.5°, 89.7, 45.5 | |
Web Safe | 660066 | #660066 |
CIE-LAB | 21.612, 46.856, -42.452 |
---|---|
XYZ | 6.94, 3.409, 16.814 |
xyY | 0.255, 0.125, 3.409 |
CIE-LCH | 21.612, 63.227, 317.823 |
CIE-LUV | 21.612, 16.284, -52.15 |
Hunter-Lab | 18.463, 34.78, -41.071 |
Binary | 01010100, 00001100, 01110100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540c74. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540c74
This text has a font color of #540c74.
<span style="color:#540c74;">Text here</span>
#540c74 background color
This paragraph has a background color of #540c74.
<p style="background-color:#540c74;">Content here</p>
#540c74 border color
This element has a border color of #540c74.
<div style="border:1px solid #540c74;">Content here</div>
CSS codes
.text {color:#540c74;}
.background {background-color:#540c74;}
.border {border:1px solid #540c74;}
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, #070109 is the darkest color, while #fcf7fe is the lightest one.
-
#070109
#070109
rgb(7,1,9)
-
#14031b
#14031b
rgb(20,3,27)
-
#21052d
#21052d
rgb(33,5,45)
-
#2d063f
#2d063f
rgb(45,6,63)
-
#3a0850
#3a0850
rgb(58,8,80)
-
#470a62
#470a62
rgb(71,10,98)
-
#540c74
#540c74
rgb(84,12,116)
-
#610e86
#610e86
rgb(97,14,134)
-
#6e1098
#6e1098
rgb(110,16,152)
-
#7b12a9
#7b12a9
rgb(123,18,169)
-
#8713bb
#8713bb
rgb(135,19,187)
-
#9415cd
#9415cd
rgb(148,21,205)
-
#a117df
#a117df
rgb(161,23,223)
Shade Color Variation
-
#ab21e8
#ab21e8
rgb(171,33,232)
-
#b233ea
#b233ea
rgb(178,51,234)
-
#b845ec
#b845ec
rgb(184,69,236)
-
#bf57ee
#bf57ee
rgb(191,87,238)
-
#c668ef
#c668ef
rgb(198,104,239)
-
#cd7af1
#cd7af1
rgb(205,122,241)
-
#d38cf3
#d38cf3
rgb(211,140,243)
-
#da9ef5
#da9ef5
rgb(218,158,245)
-
#e1aff7
#e1aff7
rgb(225,175,247)
-
#e8c1f9
#e8c1f9
rgb(232,193,249)
-
#eed3fa
#eed3fa
rgb(238,211,250)
-
#f5e5fc
#f5e5fc
rgb(245,229,252)
-
#fcf7fe
#fcf7fe
rgb(252,247,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #413d43 is the less saturated color, while #58027e is the most saturated one.
-
#413d43
#413d43
rgb(65,61,67)
-
#433848
#433848
rgb(67,56,72)
-
#45334d
#45334d
rgb(69,51,77)
-
#472e52
#472e52
rgb(71,46,82)
-
#492a56
#492a56
rgb(73,42,86)
-
#4b255b
#4b255b
rgb(75,37,91)
-
#4c2060
#4c2060
rgb(76,32,96)
-
#4e1b65
#4e1b65
rgb(78,27,101)
-
#50166a
#50166a
rgb(80,22,106)
-
#52116f
#52116f
rgb(82,17,111)
-
#540c74
#540c74
rgb(84,12,116)
-
#560779
#560779
rgb(86,7,121)
-
#58027e
#58027e
rgb(88,2,126)
Tone Color Variation
Below, you can see how #540c74 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