#540c98 Color Information
In a RGB color space, hex #540c98 is composed of 32.9% red, 4.7% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 92.1% magenta, 0% yellow and 40.4% black. It has a hue angle of 270.9 degrees, a saturation of 85.4% and a lightness of 32.2%. #540c98 color hex could be obtained by blending #a818ff with #000031. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 60
-
- C 45
- M 92
- Y 0
- K 40
● #540c98 color description : Dark violet.
#540c98 Color Conversion
The hexadecimal color #540c98 has RGB values of R:84, G:12, B:152 and CMYK values of C:0.45, M:0.92, Y:0, K:0.4. Its decimal value is 5508248.
Hex triplet | 540c98 | #540c98 |
---|---|---|
RGB Decimal | 84, 12, 152 | rgb(84,12,152) |
RGB Percent | 32.9, 4.7, 59.6 | rgb(32.9%,4.7%,59.6%) |
CMYK | 45, 92, 0, 40 | |
HSL | 270.9°, 85.4, 32.2 | hsl(270.9,85.4%,32.2%) |
HSV (or HSB) | 270.9°, 92.1, 59.6 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 24.998, 54.953, -59.54 |
---|---|
XYZ | 9.454, 4.415, 30.058 |
xyY | 0.215, 0.101, 4.415 |
CIE-LCH | 24.998, 81.023, 312.706 |
CIE-LUV | 24.998, 9.807, -74.342 |
Hunter-Lab | 21.011, 43.547, -70.11 |
Binary | 01010100, 00001100, 10011000 |
Color Schemes with #540c98
Alternatives to #540c98
Below, you can see some colors close to #540c98. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c98 Preview
This text has a font color of #540c98.
<span style="color:#540c98;">Text here</span>
This paragraph has a background color of #540c98.
<p style="background-color:#540c98;">Content here</p>
This element has a border color of #540c98.
<div style="border:1px solid #540c98;">Content here</div>
.text {color:#540c98;}
.background {background-color:#540c98;}
.border {border:1px solid #540c98;}
Shades and Tints of #540c98
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, #040107 is the darkest color, while #f9f3fe is the lightest one.
-
#040107
#040107
rgb(4,1,7)
-
#0e0219
#0e0219
rgb(14,2,25)
-
#18032b
#18032b
rgb(24,3,43)
-
#22053d
#22053d
rgb(34,5,61)
-
#2c064f
#2c064f
rgb(44,6,79)
-
#360861
#360861
rgb(54,8,97)
-
#400974
#400974
rgb(64,9,116)
-
#4a0b86
#4a0b86
rgb(74,11,134)
-
#540c98
#540c98
rgb(84,12,152)
-
#5e0daa
#5e0daa
rgb(94,13,170)
-
#680fbc
#680fbc
rgb(104,15,188)
-
#7210cf
#7210cf
rgb(114,16,207)
-
#7c12e1
#7c12e1
rgb(124,18,225)
-
#8619ed
#8619ed
rgb(134,25,237)
-
#902bee
#902bee
rgb(144,43,238)
-
#993ef0
#993ef0
rgb(153,62,240)
-
#a350f1
#a350f1
rgb(163,80,241)
-
#ac62f3
#ac62f3
rgb(172,98,243)
-
#b674f4
#b674f4
rgb(182,116,244)
-
#bf86f5
#bf86f5
rgb(191,134,245)
-
#c998f7
#c998f7
rgb(201,152,247)
-
#d3abf8
#d3abf8
rgb(211,171,248)
-
#dcbdfa
#dcbdfa
rgb(220,189,250)
-
#e6cffb
#e6cffb
rgb(230,207,251)
-
#efe1fd
#efe1fd
rgb(239,225,253)
-
#f9f3fe
#f9f3fe
rgb(249,243,254)
Tones of #540c98
A tone is produced by adding gray to any pure hue. In this case, #525153 is the less saturated color, while #54069e is the most saturated one.
-
#525153
#525153
rgb(82,81,83)
-
#524b59
#524b59
rgb(82,75,89)
-
#52455f
#52455f
rgb(82,69,95)
-
#533e66
#533e66
rgb(83,62,102)
-
#53386c
#53386c
rgb(83,56,108)
-
#533272
#533272
rgb(83,50,114)
-
#532c78
#532c78
rgb(83,44,120)
-
#53257f
#53257f
rgb(83,37,127)
-
#531f85
#531f85
rgb(83,31,133)
-
#54198b
#54198b
rgb(84,25,139)
-
#541292
#541292
rgb(84,18,146)
-
#540c98
#540c98
rgb(84,12,152)
-
#54069e
#54069e
rgb(84,6,158)
Color Blindness Simulator
Below, you can see how #540c98 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.