#540f8b Color Information
In a RGB color space, hex #540f8b is composed of 32.9% red, 5.9% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 39.6% cyan, 89.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 273.4 degrees, a saturation of 80.5% and a lightness of 30.2%. #540f8b color hex could be obtained by blending #a81eff with #000017. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 55
-
- C 40
- M 89
- Y 0
- K 45
● #540f8b color description : Dark violet.
#540f8b Color Conversion
The hexadecimal color #540f8b has RGB values of R:84, G:15, B:139 and CMYK values of C:0.4, M:0.89, Y:0, K:0.45. Its decimal value is 5509003.
Hex triplet | 540f8b | #540f8b |
---|---|---|
RGB Decimal | 84, 15, 139 | rgb(84,15,139) |
RGB Percent | 32.9, 5.9, 54.5 | rgb(32.9%,5.9%,54.5%) |
CMYK | 40, 89, 0, 45 | |
HSL | 273.4°, 80.5, 30.2 | hsl(273.4,80.5%,30.2%) |
HSV (or HSB) | 273.4°, 89.2, 54.5 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 23.969, 51.197, -53.175 |
---|---|
XYZ | 8.486, 4.091, 24.767 |
xyY | 0.227, 0.11, 4.091 |
CIE-LCH | 23.969, 73.815, 313.914 |
CIE-LUV | 23.969, 11.733, -66.349 |
Hunter-Lab | 20.225, 39.503, -58.446 |
Binary | 01010100, 00001111, 10001011 |
Color Schemes with #540f8b
Alternatives to #540f8b
Below, you can see some colors close to #540f8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540f8b Preview
This text has a font color of #540f8b.
<span style="color:#540f8b;">Text here</span>
This paragraph has a background color of #540f8b.
<p style="background-color:#540f8b;">Content here</p>
This element has a border color of #540f8b.
<div style="border:1px solid #540f8b;">Content here</div>
.text {color:#540f8b;}
.background {background-color:#540f8b;}
.border {border:1px solid #540f8b;}
Shades and Tints of #540f8b
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, #09020f is the darkest color, while #fefcff is the lightest one.
-
#09020f
#09020f
rgb(9,2,15)
-
#140421
#140421
rgb(20,4,33)
-
#1f0532
#1f0532
rgb(31,5,50)
-
#290744
#290744
rgb(41,7,68)
-
#340956
#340956
rgb(52,9,86)
-
#3f0b68
#3f0b68
rgb(63,11,104)
-
#490d79
#490d79
rgb(73,13,121)
-
#540f8b
#540f8b
rgb(84,15,139)
-
#5f119d
#5f119d
rgb(95,17,157)
-
#6913ae
#6913ae
rgb(105,19,174)
-
#7415c0
#7415c0
rgb(116,21,192)
-
#7f17d2
#7f17d2
rgb(127,23,210)
-
#8919e4
#8919e4
rgb(137,25,228)
-
#9328e8
#9328e8
rgb(147,40,232)
-
#9c3aea
#9c3aea
rgb(156,58,234)
-
#a54bec
#a54bec
rgb(165,75,236)
-
#ad5dee
#ad5dee
rgb(173,93,238)
-
#b66fef
#b66fef
rgb(182,111,239)
-
#bf80f1
#bf80f1
rgb(191,128,241)
-
#c892f3
#c892f3
rgb(200,146,243)
-
#d1a4f5
#d1a4f5
rgb(209,164,245)
-
#dab6f7
#dab6f7
rgb(218,182,247)
-
#e3c7f9
#e3c7f9
rgb(227,199,249)
-
#ecd9fb
#ecd9fb
rgb(236,217,251)
-
#f5ebfd
#f5ebfd
rgb(245,235,253)
-
#fefcff
#fefcff
rgb(254,252,255)
Tones of #540f8b
A tone is produced by adding gray to any pure hue. In this case, #4d4a50 is the less saturated color, while #550397 is the most saturated one.
-
#4d4a50
#4d4a50
rgb(77,74,80)
-
#4e4456
#4e4456
rgb(78,68,86)
-
#4f3e5c
#4f3e5c
rgb(79,62,92)
-
#4f3862
#4f3862
rgb(79,56,98)
-
#503367
#503367
rgb(80,51,103)
-
#512d6d
#512d6d
rgb(81,45,109)
-
#512773
#512773
rgb(81,39,115)
-
#522179
#522179
rgb(82,33,121)
-
#531b7f
#531b7f
rgb(83,27,127)
-
#531585
#531585
rgb(83,21,133)
-
#540f8b
#540f8b
rgb(84,15,139)
-
#550991
#550991
rgb(85,9,145)
-
#550397
#550397
rgb(85,3,151)
Color Blindness Simulator
Below, you can see how #540f8b 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.