#540ba8 Color Information
In a RGB color space, hex #540ba8 is composed of 32.9% red, 4.3% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 93.5% magenta, 0% yellow and 34.1% black. It has a hue angle of 267.9 degrees, a saturation of 87.7% and a lightness of 35.1%. #540ba8 color hex could be obtained by blending #a816ff with #000051. Closest websafe color is: #660099.
-
- R 33
- G 4
- B 66
-
- C 50
- M 93
- Y 0
- K 34
● #540ba8 color description : Dark violet.
#540ba8 Color Conversion
The hexadecimal color #540ba8 has RGB values of R:84, G:11, B:168 and CMYK values of C:0.5, M:0.93, Y:0, K:0.34. Its decimal value is 5508008.
| Hex triplet | 540ba8 | #540ba8 |
|---|---|---|
| RGB Decimal | 84, 11, 168 | rgb(84,11,168) |
| RGB Percent | 32.9, 4.3, 65.9 | rgb(32.9%,4.3%,65.9%) |
| CMYK | 50, 93, 0, 34 | |
| HSL | 267.9°, 87.7, 35.1 | hsl(267.9,87.7%,35.1%) |
| HSV (or HSB) | 267.9°, 93.5, 65.9 | |
| Web Safe | 660099 | #660099 |
| CIE-LAB | 26.595, 58.893, -66.661 |
|---|---|
| XYZ | 10.843, 4.951, 37.428 |
| xyY | 0.204, 0.093, 4.951 |
| CIE-LCH | 26.595, 88.95, 311.46 |
| CIE-LUV | 26.595, 7.562, -83.873 |
| Hunter-Lab | 22.251, 48.038, -84.153 |
| Binary | 01010100, 00001011, 10101000 |
Color Schemes with #540ba8
Alternatives to #540ba8
Below, you can see some colors close to #540ba8. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540ba8 Preview
This text has a font color of #540ba8.
<span style="color:#540ba8;">Text here</span>
This paragraph has a background color of #540ba8.
<p style="background-color:#540ba8;">Content here</p>
This element has a border color of #540ba8.
<div style="border:1px solid #540ba8;">Content here</div>
.text {color:#540ba8;}
.background {background-color:#540ba8;}
.border {border:1px solid #540ba8;}
Shades and Tints of #540ba8
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 #f6effe is the lightest one.
-
#010002
#010002rgb(1,0,2) -
#0a0115
#0a0115rgb(10,1,21) -
#140327
#140327rgb(20,3,39) -
#1d043a
#1d043argb(29,4,58) -
#26054c
#26054crgb(38,5,76) -
#2f065e
#2f065ergb(47,6,94) -
#380771
#380771rgb(56,7,113) -
#420983
#420983rgb(66,9,131) -
#4b0a96
#4b0a96rgb(75,10,150) -
#540ba8
#540ba8rgb(84,11,168) -
#5d0cba
#5d0cbargb(93,12,186) -
#660dcd
#660dcdrgb(102,13,205) -
#700fdf
#700fdfrgb(112,15,223)
-
#7912ef
#7912efrgb(121,18,239) -
#8324f1
#8324f1rgb(131,36,241) -
#8e37f2
#8e37f2rgb(142,55,242) -
#9849f3
#9849f3rgb(152,73,243) -
#a35cf4
#a35cf4rgb(163,92,244) -
#ad6ef6
#ad6ef6rgb(173,110,246) -
#b780f7
#b780f7rgb(183,128,247) -
#c293f8
#c293f8rgb(194,147,248) -
#cca5f9
#cca5f9rgb(204,165,249) -
#d7b8fa
#d7b8fargb(215,184,250) -
#e1cafc
#e1cafcrgb(225,202,252) -
#ebdcfd
#ebdcfdrgb(235,220,253) -
#f6effe
#f6effergb(246,239,254)
Tones of #540ba8
A tone is produced by adding gray to any pure hue. In this case, #59575c is the less saturated color, while #5404af is the most saturated one.
-
#59575c
#59575crgb(89,87,92) -
#595063
#595063rgb(89,80,99) -
#58496a
#58496argb(88,73,106) -
#584271
#584271rgb(88,66,113) -
#573b78
#573b78rgb(87,59,120) -
#57347f
#57347frgb(87,52,127) -
#562d86
#562d86rgb(86,45,134) -
#56278c
#56278crgb(86,39,140) -
#552093
#552093rgb(85,32,147) -
#55199a
#55199argb(85,25,154) -
#5412a1
#5412a1rgb(84,18,161) -
#540ba8
#540ba8rgb(84,11,168) -
#5404af
#5404afrgb(84,4,175)
Color Blindness Simulator
Below, you can see how #540ba8 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.
