#540a8f Color Information

In a RGB color space, hex #540a8f is composed of 32.9% red, 3.9% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 41.3% cyan, 93% magenta, 0% yellow and 43.9% black. It has a hue angle of 273.4 degrees, a saturation of 86.9% and a lightness of 30%. #540a8f color hex could be obtained by blending #a814ff with #00001f. Closest websafe color is: #660099.

    • R 33
    • G 4
    • B 56
    RGB color chart
    • C 41
    • M 93
    • Y 0
    • K 44
    CMYK color chart

#540a8f color description : Dark violet.

#540a8f Color Conversion

The hexadecimal color #540a8f has RGB values of R:84, G:10, B:143 and CMYK values of C:0.41, M:0.93, Y:0, K:0.44. Its decimal value is 5507727.

Hex triplet 540a8f #540a8f
RGB Decimal 84, 10, 143 rgb(84,10,143)
RGB Percent 32.9, 3.9, 56.1 rgb(32.9%,3.9%,56.1%)
CMYK 41, 93, 0, 44
HSL 273.4°, 86.9, 30 hsl(273.4,86.9%,30%)
HSV (or HSB) 273.4°, 93, 56.1
Web Safe 660099 #660099
CIE-LAB 23.951, 53.322, -55.696
XYZ 8.722, 4.085, 26.314
xyY 0.223, 0.104, 4.085
CIE-LCH 23.951, 77.106, 313.752
CIE-LUV 23.951, 11.332, -68.962
Hunter-Lab 20.212, 41.656, -63.043
Binary 01010100, 00001010, 10001111

Color Schemes with #540a8f

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #540a8f

Below, you can see some colors close to #540a8f. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#540a8f Preview

Text with hexadecimal color #540a8f

This text has a font color of #540a8f.

<span style="color:#540a8f;">Text here</span>
#540a8f background color

This paragraph has a background color of #540a8f.

<p style="background-color:#540a8f;">Content here</p>
#540a8f border color

This element has a border color of #540a8f.

<div style="border:1px solid #540a8f;">Content here</div>
CSS codes
.text {color:#540a8f;}
.background {background-color:#540a8f;}
.border {border:1px solid #540a8f;}

Shades and Tints of #540a8f

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, #09010f is the darkest color, while #fdfbff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540a8f

A tone is produced by adding gray to any pure hue. In this case, #4d4b4e is the less saturated color, while #550495 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540a8f 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.

Monochromacy
  • #2f2f2f Achromatopsia 0.005% of the population
  • #362842 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00417f Protanopia 1% of men
  • #00446f Deuteranopia 1% of men
  • #484146 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d84 Protanomaly 1% of men, 0.01% of women
  • #1e2f7a Deuteranomaly 6% of men, 0.4% of women
  • #4c2d60 Tritanomaly 0.01% of the population