#540f81 Color Information

In a RGB color space, hex #540f81 is composed of 32.9% red, 5.9% green and 50.6% blue. Whereas in a CMYK color space, it is composed of 34.9% cyan, 88.4% magenta, 0% yellow and 49.4% black. It has a hue angle of 276.3 degrees, a saturation of 79.2% and a lightness of 28.2%. #540f81 color hex could be obtained by blending #a81eff with #000003. Closest websafe color is: #660099.

    • R 33
    • G 6
    • B 51
    RGB color chart
    • C 35
    • M 88
    • Y 0
    • K 49
    CMYK color chart

#540f81 color description : Dark violet.

#540f81 Color Conversion

The hexadecimal color #540f81 has RGB values of R:84, G:15, B:129 and CMYK values of C:0.35, M:0.88, Y:0, K:0.49. Its decimal value is 5508993.

Hex triplet 540f81 #540f81
RGB Decimal 84, 15, 129 rgb(84,15,129)
RGB Percent 32.9, 5.9, 50.6 rgb(32.9%,5.9%,50.6%)
CMYK 35, 88, 0, 49
HSL 276.3°, 79.2, 28.2 hsl(276.3,79.2%,28.2%)
HSV (or HSB) 276.3°, 88.4, 50.6
Web Safe 660099 #660099
CIE-LAB 23.039, 48.908, -48.416
XYZ 7.789, 3.812, 21.093
xyY 0.238, 0.117, 3.812
CIE-LCH 23.039, 68.819, 315.289
CIE-LUV 23.039, 13.508, -60.152
Hunter-Lab 19.523, 37.047, -50.391
Binary 01010100, 00001111, 10000001

Color Schemes with #540f81

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

Alternatives to #540f81

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

Similar Colors

#540f81 Preview

Text with hexadecimal color #540f81

This text has a font color of #540f81.

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

This paragraph has a background color of #540f81.

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

This element has a border color of #540f81.

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

Shades and Tints of #540f81

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, #040106 is the darkest color, while #faf3fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f81

A tone is produced by adding gray to any pure hue. In this case, #48464a is the less saturated color, while #56048c is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f81 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
  • #313131 Achromatopsia 0.005% of the population
  • #382a41 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #00426c Deuteranopia 1% of men
  • #4d3d41 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d7d Protanomaly 1% of men, 0.01% of women
  • #1e2f74 Deuteranomaly 6% of men, 0.4% of women
  • #4f2c58 Tritanomaly 0.01% of the population