#540798 Color Information
In a RGB color space, hex #540798 is composed of 32.9% red, 2.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 95.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 271.9 degrees, a saturation of 91.2% and a lightness of 31.2%. #540798 color hex could be obtained by blending #a80eff with #000031. Closest websafe color is: #660099.
-
- R 33
- G 3
- B 60
-
- C 45
- M 95
- Y 0
- K 40
● #540798 color description : Dark violet.
#540798 Color Conversion
The hexadecimal color #540798 has RGB values of R:84, G:7, B:152 and CMYK values of C:0.45, M:0.95, Y:0, K:0.4. Its decimal value is 5506968.
| Hex triplet | 540798 | #540798 |
|---|---|---|
| RGB Decimal | 84, 7, 152 | rgb(84,7,152) |
| RGB Percent | 32.9, 2.7, 59.6 | rgb(32.9%,2.7%,59.6%) |
| CMYK | 45, 95, 0, 40 | |
| HSL | 271.9°, 91.2, 31.2 | hsl(271.9,91.2%,31.2%) |
| HSV (or HSB) | 271.9°, 95.4, 59.6 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 24.651, 55.992, -60.11 |
|---|---|
| XYZ | 9.399, 4.304, 30.04 |
| xyY | 0.215, 0.098, 4.304 |
| CIE-LCH | 24.651, 82.148, 312.968 |
| CIE-LUV | 24.651, 10.028, -74.432 |
| Hunter-Lab | 20.746, 44.564, -71.33 |
| Binary | 01010100, 00000111, 10011000 |
Color Schemes with #540798
Alternatives to #540798
Below, you can see some colors close to #540798. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540798 Preview
This text has a font color of #540798.
<span style="color:#540798;">Text here</span>
This paragraph has a background color of #540798.
<p style="background-color:#540798;">Content here</p>
This element has a border color of #540798.
<div style="border:1px solid #540798;">Content here</div>
.text {color:#540798;}
.background {background-color:#540798;}
.border {border:1px solid #540798;}
Shades and Tints of #540798
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, #010002 is the darkest color, while #f7eefe is the lightest one.
-
#010002
#010002rgb(1,0,2) -
#0b0115
#0b0115rgb(11,1,21) -
#160227
#160227rgb(22,2,39) -
#20033a
#20033argb(32,3,58) -
#2b044d
#2b044drgb(43,4,77) -
#350460
#350460rgb(53,4,96) -
#3f0572
#3f0572rgb(63,5,114) -
#4a0685
#4a0685rgb(74,6,133) -
#540798
#540798rgb(84,7,152) -
#5e08ab
#5e08abrgb(94,8,171) -
#6909be
#6909bergb(105,9,190) -
#730ad0
#730ad0rgb(115,10,208) -
#7d0ae3
#7d0ae3rgb(125,10,227)
-
#880df4
#880df4rgb(136,13,244) -
#9120f5
#9120f5rgb(145,32,245) -
#9a33f6
#9a33f6rgb(154,51,246) -
#a345f6
#a345f6rgb(163,69,246) -
#ad58f7
#ad58f7rgb(173,88,247) -
#b66bf8
#b66bf8rgb(182,107,248) -
#bf7ef9
#bf7ef9rgb(191,126,249) -
#c890fa
#c890fargb(200,144,250) -
#d2a3fb
#d2a3fbrgb(210,163,251) -
#dbb6fc
#dbb6fcrgb(219,182,252) -
#e4c9fd
#e4c9fdrgb(228,201,253) -
#eddbfd
#eddbfdrgb(237,219,253) -
#f7eefe
#f7eefergb(247,238,254)
Tones of #540798
A tone is produced by adding gray to any pure hue. In this case, #504a55 is the less saturated color, while #54019e is the most saturated one.
-
#504a55
#504a55rgb(80,74,85) -
#50445b
#50445brgb(80,68,91) -
#513e61
#513e61rgb(81,62,97) -
#513867
#513867rgb(81,56,103) -
#51326d
#51326drgb(81,50,109) -
#522c73
#522c73rgb(82,44,115) -
#522679
#522679rgb(82,38,121) -
#521f80
#521f80rgb(82,31,128) -
#531986
#531986rgb(83,25,134) -
#53138c
#53138crgb(83,19,140) -
#540d92
#540d92rgb(84,13,146) -
#540798
#540798rgb(84,7,152) -
#54019e
#54019ergb(84,1,158)
Color Blindness Simulator
Below, you can see how #540798 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.
