#540f9c hex color
In a RGB color space, hex #540f9c is composed of 32.9% red, 5.9% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 46.2% cyan, 90.4% magenta, 0% yellow and 38.8% black. It has a hue angle of 269.4 degrees, a saturation of 82.5% and a lightness of 33.5%. #540f9c color hex could be obtained by blending #a81eff with #000039. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 61
RGB color chart
-
- C 46
- M 90
- Y 0
- K 39
CMYK color chart
● #540f9c color description : Dark violet.
The hexadecimal color #540f9c has RGB values of R:84, G:15, B:156 and CMYK values of C:0.46, M:0.9, Y:0, K:0.39. Its decimal value is 5509020.
Hex triplet | 540f9c | #540f9c |
---|---|---|
RGB Decimal | 84, 15, 156 | rgb(84,15,156) |
RGB Percent | 32.9, 5.9, 61.2 | rgb(32.9%,5.9%,61.2%) |
CMYK | 46, 90, 0, 39 | |
HSL | 269.4°, 82.5, 33.5 | hsl(269.4,82.5%,33.5%) |
HSV (or HSB) | 269.4°, 90.4, 61.2 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.644, 55.172, -60.931 |
---|---|
XYZ | 9.827, 4.627, 31.826 |
xyY | 0.212, 0.1, 4.627 |
CIE-LCH | 25.644, 82.198, 312.161 |
CIE-LUV | 25.644, 9.051, -76.671 |
Hunter-Lab | 21.51, 43.905, -72.668 |
Binary | 01010100, 00001111, 10011100 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540f9c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540f9c
This text has a font color of #540f9c.
<span style="color:#540f9c;">Text here</span>
#540f9c background color
This paragraph has a background color of #540f9c.
<p style="background-color:#540f9c;">Content here</p>
#540f9c border color
This element has a border color of #540f9c.
<div style="border:1px solid #540f9c;">Content here</div>
CSS codes
.text {color:#540f9c;}
.background {background-color:#540f9c;}
.border {border:1px solid #540f9c;}
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, #07010d is the darkest color, while #fcfaff is the lightest one.
-
#07010d
#07010d
rgb(7,1,13)
-
#11031f
#11031f
rgb(17,3,31)
-
#1a0531
#1a0531
rgb(26,5,49)
-
#240643
#240643
rgb(36,6,67)
-
#2d0854
#2d0854
rgb(45,8,84)
-
#370a66
#370a66
rgb(55,10,102)
-
#410c78
#410c78
rgb(65,12,120)
-
#4a0d8a
#4a0d8a
rgb(74,13,138)
-
#540f9c
#540f9c
rgb(84,15,156)
-
#5e11ae
#5e11ae
rgb(94,17,174)
-
#6712c0
#6712c0
rgb(103,18,192)
-
#7114d2
#7114d2
rgb(113,20,210)
-
#7b16e4
#7b16e4
rgb(123,22,228)
Shade Color Variation
-
#8423ea
#8423ea
rgb(132,35,234)
-
#8e35ec
#8e35ec
rgb(142,53,236)
-
#9847ed
#9847ed
rgb(152,71,237)
-
#a259ef
#a259ef
rgb(162,89,239)
-
#ac6bf1
#ac6bf1
rgb(172,107,241)
-
#b67df2
#b67df2
rgb(182,125,242)
-
#c08ff4
#c08ff4
rgb(192,143,244)
-
#caa0f6
#caa0f6
rgb(202,160,246)
-
#d4b2f8
#d4b2f8
rgb(212,178,248)
-
#dec4f9
#dec4f9
rgb(222,196,249)
-
#e8d6fb
#e8d6fb
rgb(232,214,251)
-
#f2e8fd
#f2e8fd
rgb(242,232,253)
-
#fcfaff
#fcfaff
rgb(252,250,255)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #55515a is the less saturated color, while #5402a9 is the most saturated one.
-
#55515a
#55515a
rgb(85,81,90)
-
#554a61
#554a61
rgb(85,74,97)
-
#554467
#554467
rgb(85,68,103)
-
#553d6e
#553d6e
rgb(85,61,110)
-
#553675
#553675
rgb(85,54,117)
-
#55307b
#55307b
rgb(85,48,123)
-
#552982
#552982
rgb(85,41,130)
-
#542388
#542388
rgb(84,35,136)
-
#541c8f
#541c8f
rgb(84,28,143)
-
#541695
#541695
rgb(84,22,149)
-
#540f9c
#540f9c
rgb(84,15,156)
-
#5408a3
#5408a3
rgb(84,8,163)
-
#5402a9
#5402a9
rgb(84,2,169)
Tone Color Variation
Below, you can see how #540f9c 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