#540f98 Color Information
In a RGB color space, hex #540f98 is composed of 32.9% red, 5.9% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 90.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 270.2 degrees, a saturation of 82% and a lightness of 32.7%. #540f98 color hex could be obtained by blending #a81eff with #000031. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 60
-
- C 45
- M 90
- Y 0
- K 40
● #540f98 color description : Dark violet.
#540f98 Color Conversion
The hexadecimal color #540f98 has RGB values of R:84, G:15, B:152 and CMYK values of C:0.45, M:0.9, Y:0, K:0.4. Its decimal value is 5509016.
| Hex triplet | 540f98 | #540f98 |
|---|---|---|
| RGB Decimal | 84, 15, 152 | rgb(84,15,152) |
| RGB Percent | 32.9, 5.9, 59.6 | rgb(32.9%,5.9%,59.6%) |
| CMYK | 45, 90, 0, 40 | |
| HSL | 270.2°, 82, 32.7 | hsl(270.2,82%,32.7%) |
| HSV (or HSB) | 270.2°, 90.1, 59.6 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 25.24, 54.23, -59.141 |
|---|---|
| XYZ | 9.494, 4.493, 30.071 |
| xyY | 0.215, 0.102, 4.493 |
| CIE-LCH | 25.24, 80.241, 312.519 |
| CIE-LUV | 25.24, 9.647, -74.264 |
| Hunter-Lab | 21.198, 42.846, -69.27 |
| Binary | 01010100, 00001111, 10011000 |
Color Schemes with #540f98
Alternatives to #540f98
Below, you can see some colors close to #540f98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540f98 Preview
This text has a font color of #540f98.
<span style="color:#540f98;">Text here</span>
This paragraph has a background color of #540f98.
<p style="background-color:#540f98;">Content here</p>
This element has a border color of #540f98.
<div style="border:1px solid #540f98;">Content here</div>
.text {color:#540f98;}
.background {background-color:#540f98;}
.border {border:1px solid #540f98;}
Shades and Tints of #540f98
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, #050109 is the darkest color, while #faf6fe is the lightest one.
-
#050109
#050109rgb(5,1,9) -
#0f031b
#0f031brgb(15,3,27) -
#19042d
#19042drgb(25,4,45) -
#23063f
#23063frgb(35,6,63) -
#2d0851
#2d0851rgb(45,8,81) -
#360a62
#360a62rgb(54,10,98) -
#400b74
#400b74rgb(64,11,116) -
#4a0d86
#4a0d86rgb(74,13,134) -
#540f98
#540f98rgb(84,15,152) -
#5e11aa
#5e11aargb(94,17,170) -
#6813bc
#6813bcrgb(104,19,188) -
#7214ce
#7214cergb(114,20,206) -
#7b16df
#7b16dfrgb(123,22,223)
-
#8520e9
#8520e9rgb(133,32,233) -
#8f32eb
#8f32ebrgb(143,50,235) -
#9944ed
#9944edrgb(153,68,237) -
#a356ee
#a356eergb(163,86,238) -
#ac67f0
#ac67f0rgb(172,103,240) -
#b679f2
#b679f2rgb(182,121,242) -
#c08bf4
#c08bf4rgb(192,139,244) -
#ca9df5
#ca9df5rgb(202,157,245) -
#d3aff7
#d3aff7rgb(211,175,247) -
#ddc1f9
#ddc1f9rgb(221,193,249) -
#e7d3fb
#e7d3fbrgb(231,211,251) -
#f1e4fc
#f1e4fcrgb(241,228,252) -
#faf6fe
#faf6fergb(250,246,254)
Tones of #540f98
A tone is produced by adding gray to any pure hue. In this case, #544f58 is the less saturated color, while #5402a5 is the most saturated one.
-
#544f58
#544f58rgb(84,79,88) -
#54495e
#54495ergb(84,73,94) -
#544265
#544265rgb(84,66,101) -
#543c6b
#543c6brgb(84,60,107) -
#543671
#543671rgb(84,54,113) -
#542f78
#542f78rgb(84,47,120) -
#54297e
#54297ergb(84,41,126) -
#542285
#542285rgb(84,34,133) -
#541c8b
#541c8brgb(84,28,139) -
#541592
#541592rgb(84,21,146) -
#540f98
#540f98rgb(84,15,152) -
#54099e
#54099ergb(84,9,158) -
#5402a5
#5402a5rgb(84,2,165)
Color Blindness Simulator
Below, you can see how #540f98 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.
