#540f97 hex color
In a RGB color space, hex #540f97 is composed of 32.9% red, 5.9% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 44.4% cyan, 90.1% magenta, 0% yellow and 40.8% black. It has a hue angle of 270.4 degrees, a saturation of 81.9% and a lightness of 32.5%. #540f97 color hex could be obtained by blending #a81eff with #00002f. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 59
RGB color chart
-
- C 44
- M 90
- Y 0
- K 41
CMYK color chart
● #540f97 color description : Dark violet.
The hexadecimal color #540f97 has RGB values of R:84, G:15, B:151 and CMYK values of C:0.44, M:0.9, Y:0, K:0.41. Its decimal value is 5509015.
Hex triplet | 540f97 | #540f97 |
---|---|---|
RGB Decimal | 84, 15, 151 | rgb(84,15,151) |
RGB Percent | 32.9, 5.9, 59.2 | rgb(32.9%,5.9%,59.2%) |
CMYK | 44, 90, 0, 41 | |
HSL | 270.4°, 81.9, 32.5 | hsl(270.4,81.9%,32.5%) |
HSV (or HSB) | 270.4°, 90.1, 59.2 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.14, 53.995, -58.691 |
---|---|
XYZ | 9.412, 4.461, 29.642 |
xyY | 0.216, 0.103, 4.461 |
CIE-LCH | 25.14, 79.75, 312.614 |
CIE-LUV | 25.14, 9.8, -73.66 |
Hunter-Lab | 21.121, 42.583, -68.425 |
Binary | 01010100, 00001111, 10010111 |
Analogous Color
Split Complementary Color
Triadic Color
Below, you can see some colors close to #540f97. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #540f97
This text has a font color of #540f97.
<span style="color:#540f97;">Text here</span>
#540f97 background color
This paragraph has a background color of #540f97.
<p style="background-color:#540f97;">Content here</p>
#540f97 border color
This element has a border color of #540f97.
<div style="border:1px solid #540f97;">Content here</div>
CSS codes
.text {color:#540f97;}
.background {background-color:#540f97;}
.border {border:1px solid #540f97;}
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, #050108 is the darkest color, while #faf5fe is the lightest one.
-
#050108
#050108
rgb(5,1,8)
-
#0f031a
#0f031a
rgb(15,3,26)
-
#18042c
#18042c
rgb(24,4,44)
-
#22063e
#22063e
rgb(34,6,62)
-
#2c0850
#2c0850
rgb(44,8,80)
-
#360a61
#360a61
rgb(54,10,97)
-
#400b73
#400b73
rgb(64,11,115)
-
#4a0d85
#4a0d85
rgb(74,13,133)
-
#540f97
#540f97
rgb(84,15,151)
-
#5e11a9
#5e11a9
rgb(94,17,169)
-
#6813bb
#6813bb
rgb(104,19,187)
-
#7214cd
#7214cd
rgb(114,20,205)
-
#7c16de
#7c16de
rgb(124,22,222)
Shade Color Variation
-
#861fe9
#861fe9
rgb(134,31,233)
-
#8f31eb
#8f31eb
rgb(143,49,235)
-
#9943ec
#9943ec
rgb(153,67,236)
-
#a355ee
#a355ee
rgb(163,85,238)
-
#ac67f0
#ac67f0
rgb(172,103,240)
-
#b679f2
#b679f2
rgb(182,121,242)
-
#c08af3
#c08af3
rgb(192,138,243)
-
#c99cf5
#c99cf5
rgb(201,156,245)
-
#d3aef7
#d3aef7
rgb(211,174,247)
-
#ddc0f9
#ddc0f9
rgb(221,192,249)
-
#e6d2fb
#e6d2fb
rgb(230,210,251)
-
#f0e4fc
#f0e4fc
rgb(240,228,252)
-
#faf5fe
#faf5fe
rgb(250,245,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #534f57 is the less saturated color, while #5402a4 is the most saturated one.
-
#534f57
#534f57
rgb(83,79,87)
-
#53485e
#53485e
rgb(83,72,94)
-
#534264
#534264
rgb(83,66,100)
-
#533c6a
#533c6a
rgb(83,60,106)
-
#533571
#533571
rgb(83,53,113)
-
#542f77
#542f77
rgb(84,47,119)
-
#54297d
#54297d
rgb(84,41,125)
-
#542284
#542284
rgb(84,34,132)
-
#541c8a
#541c8a
rgb(84,28,138)
-
#541591
#541591
rgb(84,21,145)
-
#540f97
#540f97
rgb(84,15,151)
-
#54099d
#54099d
rgb(84,9,157)
-
#5402a4
#5402a4
rgb(84,2,164)
Tone Color Variation
Below, you can see how #540f97 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