#540fa8 Color Information
In a RGB color space, hex #540fa8 is composed of 32.9% red, 5.9% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 91.1% magenta, 0% yellow and 34.1% black. It has a hue angle of 267.1 degrees, a saturation of 83.6% and a lightness of 35.9%. #540fa8 color hex could be obtained by blending #a81eff with #000051. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 66
-
- C 50
- M 91
- Y 0
- K 34
● #540fa8 color description : Dark violet.
#540fa8 Color Conversion
The hexadecimal color #540fa8 has RGB values of R:84, G:15, B:168 and CMYK values of C:0.5, M:0.91, Y:0, K:0.34. Its decimal value is 5509032.
| Hex triplet | 540fa8 | #540fa8 |
|---|---|---|
| RGB Decimal | 84, 15, 168 | rgb(84,15,168) |
| RGB Percent | 32.9, 5.9, 65.9 | rgb(32.9%,5.9%,65.9%) |
| CMYK | 50, 91, 0, 34 | |
| HSL | 267.1°, 83.6, 35.9 | hsl(267.1,83.6%,35.9%) |
| HSV (or HSB) | 267.1°, 91.1, 65.9 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.887, 58.018, -66.18 |
|---|---|
| XYZ | 10.894, 5.054, 37.445 |
| xyY | 0.204, 0.095, 5.054 |
| CIE-LCH | 26.887, 88.011, 311.24 |
| CIE-LUV | 26.887, 7.373, -83.824 |
| Hunter-Lab | 22.48, 47.16, -83.023 |
| Binary | 01010100, 00001111, 10101000 |
Color Schemes with #540fa8
Alternatives to #540fa8
Below, you can see some colors close to #540fa8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540fa8 Preview
This text has a font color of #540fa8.
<span style="color:#540fa8;">Text here</span>
This paragraph has a background color of #540fa8.
<p style="background-color:#540fa8;">Content here</p>
This element has a border color of #540fa8.
<div style="border:1px solid #540fa8;">Content here</div>
.text {color:#540fa8;}
.background {background-color:#540fa8;}
.border {border:1px solid #540fa8;}
Shades and Tints of #540fa8
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, #030106 is the darkest color, while #f8f3fe is the lightest one.
-
#030106
#030106rgb(3,1,6) -
#0c0218
#0c0218rgb(12,2,24) -
#15042a
#15042argb(21,4,42) -
#1e053c
#1e053crgb(30,5,60) -
#27074e
#27074ergb(39,7,78) -
#300960
#300960rgb(48,9,96) -
#390a72
#390a72rgb(57,10,114) -
#420c84
#420c84rgb(66,12,132) -
#4b0d96
#4b0d96rgb(75,13,150) -
#540fa8
#540fa8rgb(84,15,168) -
#5d11ba
#5d11bargb(93,17,186) -
#6612cc
#6612ccrgb(102,18,204) -
#6f14de
#6f14dergb(111,20,222)
-
#791beb
#791bebrgb(121,27,235) -
#832dec
#832decrgb(131,45,236) -
#8e3fee
#8e3feergb(142,63,238) -
#9851ef
#9851efrgb(152,81,239) -
#a363f1
#a363f1rgb(163,99,241) -
#ae75f3
#ae75f3rgb(174,117,243) -
#b887f4
#b887f4rgb(184,135,244) -
#c399f6
#c399f6rgb(195,153,246) -
#cdabf7
#cdabf7rgb(205,171,247) -
#d8bdf9
#d8bdf9rgb(216,189,249) -
#e3cffb
#e3cffbrgb(227,207,251) -
#ede1fc
#ede1fcrgb(237,225,252) -
#f8f3fe
#f8f3fergb(248,243,254)
Tones of #540fa8
A tone is produced by adding gray to any pure hue. In this case, #5b5562 is the less saturated color, while #5301b6 is the most saturated one.
-
#5b5562
#5b5562rgb(91,85,98) -
#5a4e69
#5a4e69rgb(90,78,105) -
#5a4770
#5a4770rgb(90,71,112) -
#594077
#594077rgb(89,64,119) -
#58397e
#58397ergb(88,57,126) -
#573285
#573285rgb(87,50,133) -
#572b8c
#572b8crgb(87,43,140) -
#562493
#562493rgb(86,36,147) -
#551d9a
#551d9argb(85,29,154) -
#5516a1
#5516a1rgb(85,22,161) -
#540fa8
#540fa8rgb(84,15,168) -
#5308af
#5308afrgb(83,8,175) -
#5301b6
#5301b6rgb(83,1,182)
Color Blindness Simulator
Below, you can see how #540fa8 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.
