#540c9d Color Information
In a RGB color space, hex #540c9d is composed of 32.9% red, 4.7% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 46.5% cyan, 92.4% magenta, 0% yellow and 38.4% black. It has a hue angle of 269.8 degrees, a saturation of 85.8% and a lightness of 33.1%. #540c9d color hex could be obtained by blending #a818ff with #00003b. Closest websafe color is: #660099.
-
- R 33
- G 5
- B 62
-
- C 46
- M 92
- Y 0
- K 38
● #540c9d color description : Dark violet.
#540c9d Color Conversion
The hexadecimal color #540c9d has RGB values of R:84, G:12, B:157 and CMYK values of C:0.46, M:0.92, Y:0, K:0.38. Its decimal value is 5508253.
| Hex triplet | 540c9d | #540c9d |
|---|---|---|
| RGB Decimal | 84, 12, 157 | rgb(84,12,157) |
| RGB Percent | 32.9, 4.7, 61.6 | rgb(32.9%,4.7%,61.6%) |
| CMYK | 46, 92, 0, 38 | |
| HSL | 269.8°, 85.8, 33.1 | hsl(269.8,85.8%,33.1%) |
| HSV (or HSB) | 269.8°, 92.4, 61.6 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 25.509, 56.115, -61.764 |
|---|---|
| XYZ | 9.872, 4.582, 32.261 |
| xyY | 0.211, 0.098, 4.582 |
| CIE-LCH | 25.509, 83.449, 312.256 |
| CIE-LUV | 25.509, 9.06, -77.336 |
| Hunter-Lab | 21.406, 44.865, -74.372 |
| Binary | 01010100, 00001100, 10011101 |
Color Schemes with #540c9d
Alternatives to #540c9d
Below, you can see some colors close to #540c9d. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540c9d Preview
This text has a font color of #540c9d.
<span style="color:#540c9d;">Text here</span>
This paragraph has a background color of #540c9d.
<p style="background-color:#540c9d;">Content here</p>
This element has a border color of #540c9d.
<div style="border:1px solid #540c9d;">Content here</div>
.text {color:#540c9d;}
.background {background-color:#540c9d;}
.border {border:1px solid #540c9d;}
Shades and Tints of #540c9d
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, #06010b is the darkest color, while #fbf8fe is the lightest one.
-
#06010b
#06010brgb(6,1,11) -
#10021d
#10021drgb(16,2,29) -
#1a0430
#1a0430rgb(26,4,48) -
#230542
#230542rgb(35,5,66) -
#2d0654
#2d0654rgb(45,6,84) -
#370866
#370866rgb(55,8,102) -
#410979
#410979rgb(65,9,121) -
#4a0b8b
#4a0b8brgb(74,11,139) -
#540c9d
#540c9drgb(84,12,157) -
#5e0daf
#5e0dafrgb(94,13,175) -
#670fc1
#670fc1rgb(103,15,193) -
#7110d4
#7110d4rgb(113,16,212) -
#7b12e6
#7b12e6rgb(123,18,230)
-
#851dee
#851deergb(133,29,238) -
#8f30ef
#8f30efrgb(143,48,239) -
#9942f1
#9942f1rgb(153,66,241) -
#a254f2
#a254f2rgb(162,84,242) -
#ac66f3
#ac66f3rgb(172,102,243) -
#b678f5
#b678f5rgb(182,120,245) -
#c08bf6
#c08bf6rgb(192,139,246) -
#ca9df8
#ca9df8rgb(202,157,248) -
#d4aff9
#d4aff9rgb(212,175,249) -
#dec1fa
#dec1fargb(222,193,250) -
#e7d4fc
#e7d4fcrgb(231,212,252) -
#f1e6fd
#f1e6fdrgb(241,230,253) -
#fbf8fe
#fbf8fergb(251,248,254)
Tones of #540c9d
A tone is produced by adding gray to any pure hue. In this case, #545456 is the less saturated color, while #5406a4 is the most saturated one.
-
#545456
#545456rgb(84,84,86) -
#544d5c
#544d5crgb(84,77,92) -
#544763
#544763rgb(84,71,99) -
#544069
#544069rgb(84,64,105) -
#543a70
#543a70rgb(84,58,112) -
#543376
#543376rgb(84,51,118) -
#542d7d
#542d7drgb(84,45,125) -
#542683
#542683rgb(84,38,131) -
#54208a
#54208argb(84,32,138) -
#541990
#541990rgb(84,25,144) -
#541397
#541397rgb(84,19,151) -
#540c9d
#540c9drgb(84,12,157) -
#5406a4
#5406a4rgb(84,6,164)
Color Blindness Simulator
Below, you can see how #540c9d 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.
