#540271 Color Information

In a RGB color space, hex #540271 is composed of 32.9% red, 0.8% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 25.7% cyan, 98.2% magenta, 0% yellow and 55.7% black. It has a hue angle of 284.3 degrees, a saturation of 96.5% and a lightness of 22.5%. #540271 color hex could be obtained by blending #a804e2 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 1
    • B 44
    RGB color chart
    • C 26
    • M 98
    • Y 0
    • K 56
    CMYK color chart

#540271 color description : Very dark violet.

#540271 Color Conversion

The hexadecimal color #540271 has RGB values of R:84, G:2, B:113 and CMYK values of C:0.26, M:0.98, Y:0, K:0.56. Its decimal value is 5505649.

Hex triplet 540271 #540271
RGB Decimal 84, 2, 113 rgb(84,2,113)
RGB Percent 32.9, 0.8, 44.3 rgb(32.9%,0.8%,44.3%)
CMYK 26, 98, 0, 56
HSL 284.3°, 96.5, 22.5 hsl(284.3,96.5%,22.5%)
HSV (or HSB) 284.3°, 98.2, 44.3
Web Safe 660066 #660066
CIE-LAB 20.521, 48.695, -42.294
XYZ 6.658, 3.121, 15.874
xyY 0.26, 0.122, 3.121
CIE-LCH 20.521, 64.498, 319.025
CIE-LUV 20.521, 17.504, -50.82
Hunter-Lab 17.666, 36.361, -40.909
Binary 01010100, 00000010, 01110001

Color Schemes with #540271

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

Alternatives to #540271

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

Similar Colors

#540271 Preview

Text with hexadecimal color #540271

This text has a font color of #540271.

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

This paragraph has a background color of #540271.

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

This element has a border color of #540271.

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

Shades and Tints of #540271

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

Shade Color Variation
Tint Color Variation

Tones of #540271

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540271 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
  • #272727 Achromatopsia 0.005% of the population
  • #302036 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003a71 Protanopia 1% of men
  • #003d64 Deuteranopia 1% of men
  • #513337 Tritanopia 0.001% of the population
Trichromacy
  • #1e2571 Protanomaly 1% of men, 0.01% of women
  • #1e2769 Deuteranomaly 6% of men, 0.4% of women
  • #52214c Tritanomaly 0.01% of the population