#540498 Color Information
In a RGB color space, hex #540498 is composed of 32.9% red, 1.6% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 97.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 272.4 degrees, a saturation of 94.9% and a lightness of 30.6%. #540498 color hex could be obtained by blending #a808ff with #000031. Closest websafe color is: #660099.
-
- R 33
- G 2
- B 60
-
- C 45
- M 97
- Y 0
- K 40
● #540498 color description : Dark violet.
#540498 Color Conversion
The hexadecimal color #540498 has RGB values of R:84, G:4, B:152 and CMYK values of C:0.45, M:0.97, Y:0, K:0.4. Its decimal value is 5506200.
| Hex triplet | 540498 | #540498 |
|---|---|---|
| RGB Decimal | 84, 4, 152 | rgb(84,4,152) |
| RGB Percent | 32.9, 1.6, 59.6 | rgb(32.9%,1.6%,59.6%) |
| CMYK | 45, 97, 0, 40 | |
| HSL | 272.4°, 94.9, 30.6 | hsl(272.4,94.9%,30.6%) |
| HSV (or HSB) | 272.4°, 97.4, 59.6 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 24.445, 56.613, -60.45 |
|---|---|
| XYZ | 9.366, 4.239, 30.029 |
| xyY | 0.215, 0.097, 4.239 |
| CIE-LCH | 24.445, 82.82, 313.123 |
| CIE-LUV | 24.445, 10.156, -74.472 |
| Hunter-Lab | 20.588, 45.176, -72.066 |
| Binary | 01010100, 00000100, 10011000 |
Color Schemes with #540498
Alternatives to #540498
Below, you can see some colors close to #540498. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540498 Preview
This text has a font color of #540498.
<span style="color:#540498;">Text here</span>
This paragraph has a background color of #540498.
<p style="background-color:#540498;">Content here</p>
This element has a border color of #540498.
<div style="border:1px solid #540498;">Content here</div>
.text {color:#540498;}
.background {background-color:#540498;}
.border {border:1px solid #540498;}
Shades and Tints of #540498
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, #0a0012 is the darkest color, while #fffeff is the lightest one.
-
#0a0012
#0a0012rgb(10,0,18) -
#150125
#150125rgb(21,1,37) -
#1f0138
#1f0138rgb(31,1,56) -
#2a024c
#2a024crgb(42,2,76) -
#34025f
#34025frgb(52,2,95) -
#3f0372
#3f0372rgb(63,3,114) -
#490385
#490385rgb(73,3,133) -
#540498
#540498rgb(84,4,152) -
#5f05ab
#5f05abrgb(95,5,171) -
#6905be
#6905bergb(105,5,190) -
#7406d1
#7406d1rgb(116,6,209) -
#7e06e4
#7e06e4rgb(126,6,228) -
#8907f8
#8907f8rgb(137,7,248)
-
#9219f9
#9219f9rgb(146,25,249) -
#9b2cf9
#9b2cf9rgb(155,44,249) -
#a43ffa
#a43ffargb(164,63,250) -
#ad52fa
#ad52fargb(173,82,250) -
#b665fb
#b665fbrgb(182,101,251) -
#bf78fb
#bf78fbrgb(191,120,251) -
#c88bfc
#c88bfcrgb(200,139,252) -
#d19ffc
#d19ffcrgb(209,159,252) -
#dab2fd
#dab2fdrgb(218,178,253) -
#e3c5fd
#e3c5fdrgb(227,197,253) -
#ecd8fe
#ecd8fergb(236,216,254) -
#f6ebfe
#f6ebfergb(246,235,254) -
#fffeff
#fffeffrgb(255,254,255)
Tones of #540498
A tone is produced by adding gray to any pure hue. In this case, #4e4c50 is the less saturated color, while #540498 is the most saturated one.
-
#4e4c50
#4e4c50rgb(78,76,80) -
#4f4656
#4f4656rgb(79,70,86) -
#4f405c
#4f405crgb(79,64,92) -
#503a62
#503a62rgb(80,58,98) -
#503468
#503468rgb(80,52,104) -
#512e6e
#512e6ergb(81,46,110) -
#512874
#512874rgb(81,40,116) -
#52227a
#52227argb(82,34,122) -
#521c80
#521c80rgb(82,28,128) -
#531686
#531686rgb(83,22,134) -
#53108c
#53108crgb(83,16,140) -
#540a92
#540a92rgb(84,10,146) -
#540498
#540498rgb(84,4,152)
Color Blindness Simulator
Below, you can see how #540498 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.
