#540258 Color Information

In a RGB color space, hex #540258 is composed of 32.9% red, 0.8% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 4.5% cyan, 97.7% magenta, 0% yellow and 65.5% black. It has a hue angle of 297.2 degrees, a saturation of 95.6% and a lightness of 17.6%. #540258 color hex could be obtained by blending #a804b0 with #000000. Closest websafe color is: #660066.

    • R 33
    • G 1
    • B 35
    RGB color chart
    • C 5
    • M 98
    • Y 0
    • K 65
    CMYK color chart

#540258 color description : Very dark magenta.

#540258 Color Conversion

The hexadecimal color #540258 has RGB values of R:84, G:2, B:88 and CMYK values of C:0.05, M:0.98, Y:0, K:0.65. Its decimal value is 5505624.

Hex triplet 540258 #540258
RGB Decimal 84, 2, 88 rgb(84,2,88)
RGB Percent 32.9, 0.8, 34.5 rgb(32.9%,0.8%,34.5%)
CMYK 5, 98, 0, 65
HSL 297.2°, 95.6, 17.6 hsl(297.2,95.6%,17.6%)
HSV (or HSB) 297.2°, 97.7, 34.5
Web Safe 660066 #660066
CIE-LAB 18.51, 43.927, -29.061
XYZ 5.439, 2.633, 9.454
xyY 0.31, 0.15, 2.633
CIE-LCH 18.51, 52.67, 326.513
CIE-LUV 18.51, 23.82, -34.897
Hunter-Lab 16.227, 31.434, -23.183
Binary 01010100, 00000010, 01011000

Color Schemes with #540258

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

Alternatives to #540258

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

Similar Colors

#540258 Preview

Text with hexadecimal color #540258

This text has a font color of #540258.

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

This paragraph has a background color of #540258.

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

This element has a border color of #540258.

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

Shades and Tints of #540258

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

Shade Color Variation
Tint Color Variation

Tones of #540258

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540258 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
  • #00366a Protanopia 1% of men
  • #223857 Deuteranopia 1% of men
  • #562a2c Tritanopia 0.001% of the population
Trichromacy
  • #1e2363 Protanomaly 1% of men, 0.01% of women
  • #342457 Deuteranomaly 6% of men, 0.4% of women
  • #551b3c Tritanomaly 0.01% of the population