#540257 Color Information

In a RGB color space, hex #540257 is composed of 32.9% red, 0.8% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 3.4% cyan, 97.7% magenta, 0% yellow and 65.9% black. It has a hue angle of 297.9 degrees, a saturation of 95.5% and a lightness of 17.5%. #540257 color hex could be obtained by blending #a804ae with #000000. Closest websafe color is: #660066.

    • R 33
    • G 1
    • B 34
    RGB color chart
    • C 3
    • M 98
    • Y 0
    • K 66
    CMYK color chart

#540257 color description : Very dark magenta.

#540257 Color Conversion

The hexadecimal color #540257 has RGB values of R:84, G:2, B:87 and CMYK values of C:0.03, M:0.98, Y:0, K:0.66. Its decimal value is 5505623.

Hex triplet 540257 #540257
RGB Decimal 84, 2, 87 rgb(84,2,87)
RGB Percent 32.9, 0.8, 34.1 rgb(32.9%,0.8%,34.1%)
CMYK 3, 98, 0, 66
HSL 297.9°, 95.5, 17.5 hsl(297.9,95.5%,17.5%)
HSV (or HSB) 297.9°, 97.7, 34.1
Web Safe 660066 #660066
CIE-LAB 18.438, 43.751, -28.503
XYZ 5.398, 2.617, 9.237
xyY 0.313, 0.152, 2.617
CIE-LCH 18.438, 52.216, 326.916
CIE-LUV 18.438, 24.104, -34.247
Hunter-Lab 16.176, 31.257, -22.533
Binary 01010100, 00000010, 01010111

Color Schemes with #540257

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

Alternatives to #540257

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

Similar Colors

#540257 Preview

Text with hexadecimal color #540257

This text has a font color of #540257.

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

This paragraph has a background color of #540257.

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

This element has a border color of #540257.

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

Shades and Tints of #540257

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

Shade Color Variation
Tint Color Variation

Tones of #540257

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540257 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
  • #242424 Achromatopsia 0.005% of the population
  • #2e1d2e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003669 Protanopia 1% of men
  • #233856 Deuteranopia 1% of men
  • #56292c Tritanopia 0.001% of the population
Trichromacy
  • #1e2362 Protanomaly 1% of men, 0.01% of women
  • #342456 Deuteranomaly 6% of men, 0.4% of women
  • #551b3b Tritanomaly 0.01% of the population