#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
#0a0012
rgb(10,0,18)
-
#150125
#150125
rgb(21,1,37)
-
#1f0138
#1f0138
rgb(31,1,56)
-
#2a024c
#2a024c
rgb(42,2,76)
-
#34025f
#34025f
rgb(52,2,95)
-
#3f0372
#3f0372
rgb(63,3,114)
-
#490385
#490385
rgb(73,3,133)
-
#540498
#540498
rgb(84,4,152)
-
#5f05ab
#5f05ab
rgb(95,5,171)
-
#6905be
#6905be
rgb(105,5,190)
-
#7406d1
#7406d1
rgb(116,6,209)
-
#7e06e4
#7e06e4
rgb(126,6,228)
-
#8907f8
#8907f8
rgb(137,7,248)
-
#9219f9
#9219f9
rgb(146,25,249)
-
#9b2cf9
#9b2cf9
rgb(155,44,249)
-
#a43ffa
#a43ffa
rgb(164,63,250)
-
#ad52fa
#ad52fa
rgb(173,82,250)
-
#b665fb
#b665fb
rgb(182,101,251)
-
#bf78fb
#bf78fb
rgb(191,120,251)
-
#c88bfc
#c88bfc
rgb(200,139,252)
-
#d19ffc
#d19ffc
rgb(209,159,252)
-
#dab2fd
#dab2fd
rgb(218,178,253)
-
#e3c5fd
#e3c5fd
rgb(227,197,253)
-
#ecd8fe
#ecd8fe
rgb(236,216,254)
-
#f6ebfe
#f6ebfe
rgb(246,235,254)
-
#fffeff
#fffeff
rgb(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
#4e4c50
rgb(78,76,80)
-
#4f4656
#4f4656
rgb(79,70,86)
-
#4f405c
#4f405c
rgb(79,64,92)
-
#503a62
#503a62
rgb(80,58,98)
-
#503468
#503468
rgb(80,52,104)
-
#512e6e
#512e6e
rgb(81,46,110)
-
#512874
#512874
rgb(81,40,116)
-
#52227a
#52227a
rgb(82,34,122)
-
#521c80
#521c80
rgb(82,28,128)
-
#531686
#531686
rgb(83,22,134)
-
#53108c
#53108c
rgb(83,16,140)
-
#540a92
#540a92
rgb(84,10,146)
-
#540498
#540498
rgb(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.