#540f78 Color Information

In a RGB color space, hex #540f78 is composed of 32.9% red, 5.9% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 30% cyan, 87.5% magenta, 0% yellow and 52.9% black. It has a hue angle of 279.4 degrees, a saturation of 77.8% and a lightness of 26.5%. #540f78 color hex could be obtained by blending #a81ef0 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 6
    • B 47
    RGB color chart
    • C 30
    • M 88
    • Y 0
    • K 53
    CMYK color chart

#540f78 color description : Dark violet.

#540f78 Color Conversion

The hexadecimal color #540f78 has RGB values of R:84, G:15, B:120 and CMYK values of C:0.3, M:0.88, Y:0, K:0.53. Its decimal value is 5508984.

Hex triplet 540f78 #540f78
RGB Decimal 84, 15, 120 rgb(84,15,120)
RGB Percent 32.9, 5.9, 47.1 rgb(32.9%,5.9%,47.1%)
CMYK 30, 88, 0, 53
HSL 279.4°, 77.8, 26.5 hsl(279.4,77.8%,26.5%)
HSV (or HSB) 279.4°, 87.5, 47.1
Web Safe 660066 #660066
CIE-LAB 22.241, 46.892, -43.995
XYZ 7.217, 3.583, 18.08
xyY 0.25, 0.124, 3.583
CIE-LCH 22.241, 64.299, 316.826
CIE-LUV 22.241, 15.251, -54.481
Hunter-Lab 18.928, 34.932, -43.383
Binary 01010100, 00001111, 01111000

Color Schemes with #540f78

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

Alternatives to #540f78

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

Similar Colors

#540f78 Preview

Text with hexadecimal color #540f78

This text has a font color of #540f78.

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

This paragraph has a background color of #540f78.

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

This element has a border color of #540f78.

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

Shades and Tints of #540f78

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, #0b020f is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #540f78

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540f78 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
  • #37293e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003d78 Protanopia 1% of men
  • #00416a Deuteranopia 1% of men
  • #4f393d Tritanopia 0.001% of the population
Trichromacy
  • #1e2c78 Protanomaly 1% of men, 0.01% of women
  • #1e2e6f Deuteranomaly 6% of men, 0.4% of women
  • #512a52 Tritanomaly 0.01% of the population