#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
#010002
rgb(1,0,2)
-
#0b0115
#0b0115
rgb(11,1,21)
-
#160227
#160227
rgb(22,2,39)
-
#20033a
#20033a
rgb(32,3,58)
-
#2b044d
#2b044d
rgb(43,4,77)
-
#350460
#350460
rgb(53,4,96)
-
#3f0572
#3f0572
rgb(63,5,114)
-
#4a0685
#4a0685
rgb(74,6,133)
-
#540798
#540798
rgb(84,7,152)
-
#5e08ab
#5e08ab
rgb(94,8,171)
-
#6909be
#6909be
rgb(105,9,190)
-
#730ad0
#730ad0
rgb(115,10,208)
-
#7d0ae3
#7d0ae3
rgb(125,10,227)
-
#880df4
#880df4
rgb(136,13,244)
-
#9120f5
#9120f5
rgb(145,32,245)
-
#9a33f6
#9a33f6
rgb(154,51,246)
-
#a345f6
#a345f6
rgb(163,69,246)
-
#ad58f7
#ad58f7
rgb(173,88,247)
-
#b66bf8
#b66bf8
rgb(182,107,248)
-
#bf7ef9
#bf7ef9
rgb(191,126,249)
-
#c890fa
#c890fa
rgb(200,144,250)
-
#d2a3fb
#d2a3fb
rgb(210,163,251)
-
#dbb6fc
#dbb6fc
rgb(219,182,252)
-
#e4c9fd
#e4c9fd
rgb(228,201,253)
-
#eddbfd
#eddbfd
rgb(237,219,253)
-
#f7eefe
#f7eefe
rgb(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
#504a55
rgb(80,74,85)
-
#50445b
#50445b
rgb(80,68,91)
-
#513e61
#513e61
rgb(81,62,97)
-
#513867
#513867
rgb(81,56,103)
-
#51326d
#51326d
rgb(81,50,109)
-
#522c73
#522c73
rgb(82,44,115)
-
#522679
#522679
rgb(82,38,121)
-
#521f80
#521f80
rgb(82,31,128)
-
#531986
#531986
rgb(83,25,134)
-
#53138c
#53138c
rgb(83,19,140)
-
#540d92
#540d92
rgb(84,13,146)
-
#540798
#540798
rgb(84,7,152)
-
#54019e
#54019e
rgb(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.