#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
#010002
rgb(1,0,2)
-
#0a0115
#0a0115
rgb(10,1,21)
-
#140327
#140327
rgb(20,3,39)
-
#1d043a
#1d043a
rgb(29,4,58)
-
#26054c
#26054c
rgb(38,5,76)
-
#2f065e
#2f065e
rgb(47,6,94)
-
#380771
#380771
rgb(56,7,113)
-
#420983
#420983
rgb(66,9,131)
-
#4b0a96
#4b0a96
rgb(75,10,150)
-
#540ba8
#540ba8
rgb(84,11,168)
-
#5d0cba
#5d0cba
rgb(93,12,186)
-
#660dcd
#660dcd
rgb(102,13,205)
-
#700fdf
#700fdf
rgb(112,15,223)
-
#7912ef
#7912ef
rgb(121,18,239)
-
#8324f1
#8324f1
rgb(131,36,241)
-
#8e37f2
#8e37f2
rgb(142,55,242)
-
#9849f3
#9849f3
rgb(152,73,243)
-
#a35cf4
#a35cf4
rgb(163,92,244)
-
#ad6ef6
#ad6ef6
rgb(173,110,246)
-
#b780f7
#b780f7
rgb(183,128,247)
-
#c293f8
#c293f8
rgb(194,147,248)
-
#cca5f9
#cca5f9
rgb(204,165,249)
-
#d7b8fa
#d7b8fa
rgb(215,184,250)
-
#e1cafc
#e1cafc
rgb(225,202,252)
-
#ebdcfd
#ebdcfd
rgb(235,220,253)
-
#f6effe
#f6effe
rgb(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
#59575c
rgb(89,87,92)
-
#595063
#595063
rgb(89,80,99)
-
#58496a
#58496a
rgb(88,73,106)
-
#584271
#584271
rgb(88,66,113)
-
#573b78
#573b78
rgb(87,59,120)
-
#57347f
#57347f
rgb(87,52,127)
-
#562d86
#562d86
rgb(86,45,134)
-
#56278c
#56278c
rgb(86,39,140)
-
#552093
#552093
rgb(85,32,147)
-
#55199a
#55199a
rgb(85,25,154)
-
#5412a1
#5412a1
rgb(84,18,161)
-
#540ba8
#540ba8
rgb(84,11,168)
-
#5404af
#5404af
rgb(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.