#540f8c Color Information
In a RGB color space, hex #540f8c is composed of 32.9% red, 5.9% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 40% cyan, 89.3% magenta, 0% yellow and 45.1% black. It has a hue angle of 273.1 degrees, a saturation of 80.6% and a lightness of 30.4%. #540f8c color hex could be obtained by blending #a81eff with #000019. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 55
-
- C 40
- M 89
- Y 0
- K 45
● #540f8c color description : Dark violet.
#540f8c Color Conversion
The hexadecimal color #540f8c has RGB values of R:84, G:15, B:140 and CMYK values of C:0.4, M:0.89, Y:0, K:0.45. Its decimal value is 5509004.
| Hex triplet | 540f8c | #540f8c |
|---|---|---|
| RGB Decimal | 84, 15, 140 | rgb(84,15,140) |
| RGB Percent | 32.9, 5.9, 54.9 | rgb(32.9%,5.9%,54.9%) |
| CMYK | 40, 89, 0, 45 | |
| HSL | 273.1°, 80.6, 30.4 | hsl(273.1,80.6%,30.4%) |
| HSV (or HSB) | 273.1°, 89.3, 54.9 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 24.064, 51.428, -53.642 |
|---|---|
| XYZ | 8.56, 4.12, 25.154 |
| xyY | 0.226, 0.109, 4.12 |
| CIE-LCH | 24.064, 74.313, 313.793 |
| CIE-LUV | 24.064, 11.564, -66.963 |
| Hunter-Lab | 20.298, 39.755, -59.266 |
| Binary | 01010100, 00001111, 10001100 |
Color Schemes with #540f8c
Alternatives to #540f8c
Below, you can see some colors close to #540f8c. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540f8c Preview
This text has a font color of #540f8c.
<span style="color:#540f8c;">Text here</span>
This paragraph has a background color of #540f8c.
<p style="background-color:#540f8c;">Content here</p>
This element has a border color of #540f8c.
<div style="border:1px solid #540f8c;">Content here</div>
.text {color:#540f8c;}
.background {background-color:#540f8c;}
.border {border:1px solid #540f8c;}
Shades and Tints of #540f8c
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, #0a0210 is the darkest color, while #fefdff is the lightest one.
-
#0a0210
#0a0210rgb(10,2,16) -
#140422
#140422rgb(20,4,34) -
#1f0633
#1f0633rgb(31,6,51) -
#290745
#290745rgb(41,7,69) -
#340957
#340957rgb(52,9,87) -
#3f0b69
#3f0b69rgb(63,11,105) -
#490d7a
#490d7argb(73,13,122) -
#540f8c
#540f8crgb(84,15,140) -
#5f119e
#5f119ergb(95,17,158) -
#6913af
#6913afrgb(105,19,175) -
#7415c1
#7415c1rgb(116,21,193) -
#7f17d3
#7f17d3rgb(127,23,211) -
#8918e5
#8918e5rgb(137,24,229)
-
#9229e8
#9229e8rgb(146,41,232) -
#9b3aea
#9b3aeargb(155,58,234) -
#a44cec
#a44cecrgb(164,76,236) -
#ad5eee
#ad5eeergb(173,94,238) -
#b670f0
#b670f0rgb(182,112,240) -
#bf81f2
#bf81f2rgb(191,129,242) -
#c893f3
#c893f3rgb(200,147,243) -
#d1a5f5
#d1a5f5rgb(209,165,245) -
#dab6f7
#dab6f7rgb(218,182,247) -
#e3c8f9
#e3c8f9rgb(227,200,249) -
#ecdafb
#ecdafbrgb(236,218,251) -
#f5ecfd
#f5ecfdrgb(245,236,253) -
#fefdff
#fefdffrgb(254,253,255)
Tones of #540f8c
A tone is produced by adding gray to any pure hue. In this case, #4e4b50 is the less saturated color, while #550398 is the most saturated one.
-
#4e4b50
#4e4b50rgb(78,75,80) -
#4e4556
#4e4556rgb(78,69,86) -
#4f3f5c
#4f3f5crgb(79,63,92) -
#503962
#503962rgb(80,57,98) -
#503368
#503368rgb(80,51,104) -
#512d6e
#512d6ergb(81,45,110) -
#522774
#522774rgb(82,39,116) -
#52217a
#52217argb(82,33,122) -
#531b80
#531b80rgb(83,27,128) -
#531586
#531586rgb(83,21,134) -
#540f8c
#540f8crgb(84,15,140) -
#550992
#550992rgb(85,9,146) -
#550398
#550398rgb(85,3,152)
Color Blindness Simulator
Below, you can see how #540f8c 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.
