#540f9a Color Information
In a RGB color space, hex #540f9a is composed of 32.9% red, 5.9% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 45.5% cyan, 90.3% magenta, 0% yellow and 39.6% black. It has a hue angle of 269.8 degrees, a saturation of 82.2% and a lightness of 33.1%. #540f9a color hex could be obtained by blending #a81eff with #000035. Closest websafe color is: #660099.
-
- R 33
- G 6
- B 60
-
- C 45
- M 90
- Y 0
- K 40
● #540f9a color description : Dark violet.
#540f9a Color Conversion
The hexadecimal color #540f9a has RGB values of R:84, G:15, B:154 and CMYK values of C:0.45, M:0.9, Y:0, K:0.4. Its decimal value is 5509018.
Hex triplet | 540f9a | #540f9a |
---|---|---|
RGB Decimal | 84, 15, 154 | rgb(84,15,154) |
RGB Percent | 32.9, 5.9, 60.4 | rgb(32.9%,5.9%,60.4%) |
CMYK | 45, 90, 0, 40 | |
HSL | 269.8°, 82.2, 33.1 | hsl(269.8,82.2%,33.1%) |
HSV (or HSB) | 269.8°, 90.3, 60.4 | |
Web Safe | 660099 | #660099 |
CIE-LAB | 25.441, 54.701, -60.039 |
---|---|
XYZ | 9.659, 4.56, 30.941 |
xyY | 0.214, 0.101, 4.56 |
CIE-LCH | 25.441, 81.221, 312.336 |
CIE-LUV | 25.441, 9.346, -75.469 |
Hunter-Lab | 21.353, 43.374, -70.966 |
Binary | 01010100, 00001111, 10011010 |
Color Schemes with #540f9a
Alternatives to #540f9a
Below, you can see some colors close to #540f9a. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#540f9a Preview
This text has a font color of #540f9a.
<span style="color:#540f9a;">Text here</span>
This paragraph has a background color of #540f9a.
<p style="background-color:#540f9a;">Content here</p>
This element has a border color of #540f9a.
<div style="border:1px solid #540f9a;">Content here</div>
.text {color:#540f9a;}
.background {background-color:#540f9a;}
.border {border:1px solid #540f9a;}
Shades and Tints of #540f9a
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
#06010b
rgb(6,1,11)
-
#10031d
#10031d
rgb(16,3,29)
-
#1a052f
#1a052f
rgb(26,5,47)
-
#230641
#230641
rgb(35,6,65)
-
#2d0853
#2d0853
rgb(45,8,83)
-
#370a64
#370a64
rgb(55,10,100)
-
#410c76
#410c76
rgb(65,12,118)
-
#4a0d88
#4a0d88
rgb(74,13,136)
-
#540f9a
#540f9a
rgb(84,15,154)
-
#5e11ac
#5e11ac
rgb(94,17,172)
-
#6712be
#6712be
rgb(103,18,190)
-
#7114d0
#7114d0
rgb(113,20,208)
-
#7b16e1
#7b16e1
rgb(123,22,225)
-
#8522e9
#8522e9
rgb(133,34,233)
-
#8f34eb
#8f34eb
rgb(143,52,235)
-
#9945ed
#9945ed
rgb(153,69,237)
-
#a257ef
#a257ef
rgb(162,87,239)
-
#ac69f0
#ac69f0
rgb(172,105,240)
-
#b67bf2
#b67bf2
rgb(182,123,242)
-
#c08df4
#c08df4
rgb(192,141,244)
-
#ca9ff6
#ca9ff6
rgb(202,159,246)
-
#d4b1f7
#d4b1f7
rgb(212,177,247)
-
#dec3f9
#dec3f9
rgb(222,195,249)
-
#e7d4fb
#e7d4fb
rgb(231,212,251)
-
#f1e6fd
#f1e6fd
rgb(241,230,253)
-
#fbf8fe
#fbf8fe
rgb(251,248,254)
Tones of #540f9a
A tone is produced by adding gray to any pure hue. In this case, #545059 is the less saturated color, while #5402a7 is the most saturated one.
-
#545059
#545059
rgb(84,80,89)
-
#544a60
#544a60
rgb(84,74,96)
-
#544366
#544366
rgb(84,67,102)
-
#543d6d
#543d6d
rgb(84,61,109)
-
#543673
#543673
rgb(84,54,115)
-
#54307a
#54307a
rgb(84,48,122)
-
#542980
#542980
rgb(84,41,128)
-
#542387
#542387
rgb(84,35,135)
-
#541c8d
#541c8d
rgb(84,28,141)
-
#541694
#541694
rgb(84,22,148)
-
#540f9a
#540f9a
rgb(84,15,154)
-
#5409a1
#5409a1
rgb(84,9,161)
-
#5402a7
#5402a7
rgb(84,2,167)
Color Blindness Simulator
Below, you can see how #540f9a 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.