#540f7e Color Information

In a RGB color space, hex #540f7e is composed of 32.9% red, 5.9% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 88.1% magenta, 0% yellow and 50.6% black. It has a hue angle of 277.3 degrees, a saturation of 78.7% and a lightness of 27.6%. #540f7e color hex could be obtained by blending #a81efc with #000000. Closest websafe color is: #660066.

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

#540f7e color description : Dark violet.

#540f7e Color Conversion

The hexadecimal color #540f7e has RGB values of R:84, G:15, B:126 and CMYK values of C:0.33, M:0.88, Y:0, K:0.51. Its decimal value is 5508990.

Hex triplet 540f7e #540f7e
RGB Decimal 84, 15, 126 rgb(84,15,126)
RGB Percent 32.9, 5.9, 49.4 rgb(32.9%,5.9%,49.4%)
CMYK 33, 88, 0, 51
HSL 277.3°, 78.7, 27.6 hsl(277.3,78.7%,27.6%)
HSV (or HSB) 277.3°, 88.1, 49.4
Web Safe 660066 #660066
CIE-LAB 22.768, 48.23, -46.957
XYZ 7.592, 3.733, 20.058
xyY 0.242, 0.119, 3.733
CIE-LCH 22.768, 67.314, 315.766
CIE-LUV 22.768, 14.073, -58.272
Hunter-Lab 19.321, 36.331, -48.027
Binary 01010100, 00001111, 01111110

Color Schemes with #540f7e

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

Alternatives to #540f7e

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

Similar Colors

#540f7e Preview

Text with hexadecimal color #540f7e

This text has a font color of #540f7e.

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

This paragraph has a background color of #540f7e.

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

This element has a border color of #540f7e.

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

Shades and Tints of #540f7e

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

Shade Color Variation
Tint Color Variation

Tones of #540f7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f7e 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
  • #303030 Achromatopsia 0.005% of the population
  • #372940 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003e7a Protanopia 1% of men
  • #00426c Deuteranopia 1% of men
  • #4e3c40 Tritanopia 0.001% of the population
Trichromacy
  • #1e2d7b Protanomaly 1% of men, 0.01% of women
  • #1e2f72 Deuteranomaly 6% of men, 0.4% of women
  • #502b56 Tritanomaly 0.01% of the population