#540298 Color Information

In a RGB color space, hex #540298 is composed of 32.9% red, 0.8% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 44.7% cyan, 98.7% magenta, 0% yellow and 40.4% black. It has a hue angle of 272.8 degrees, a saturation of 97.4% and a lightness of 30.2%. #540298 color hex could be obtained by blending #a804ff with #000031. Closest websafe color is: #660099.

    • R 33
    • G 1
    • B 60
    RGB color chart
    • C 45
    • M 99
    • Y 0
    • K 40
    CMYK color chart

#540298 color description : Dark violet.

#540298 Color Conversion

The hexadecimal color #540298 has RGB values of R:84, G:2, B:152 and CMYK values of C:0.45, M:0.99, Y:0, K:0.4. Its decimal value is 5505688.

Hex triplet 540298 #540298
RGB Decimal 84, 2, 152 rgb(84,2,152)
RGB Percent 32.9, 0.8, 59.6 rgb(32.9%,0.8%,59.6%)
CMYK 45, 99, 0, 40
HSL 272.8°, 97.4, 30.2 hsl(272.8,97.4%,30.2%)
HSV (or HSB) 272.8°, 98.7, 59.6
Web Safe 660099 #660099
CIE-LAB 24.307, 57.032, -60.679
XYZ 9.344, 4.195, 30.021
xyY 0.215, 0.096, 4.195
CIE-LCH 24.307, 83.274, 313.225
CIE-LUV 24.307, 10.24, -74.494
Hunter-Lab 20.482, 45.591, -72.565
Binary 01010100, 00000010, 10011000

Color Schemes with #540298

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

Alternatives to #540298

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

Similar Colors

#540298 Preview

Text with hexadecimal color #540298

This text has a font color of #540298.

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

This paragraph has a background color of #540298.

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

This element has a border color of #540298.

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

Shades and Tints of #540298

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

Shade Color Variation
Tint Color Variation

Tones of #540298

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #540298 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
  • #2c2c2c Achromatopsia 0.005% of the population
  • #342442 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004280 Protanopia 1% of men
  • #00456f Deuteranopia 1% of men
  • #444348 Tritanopia 0.001% of the population
Trichromacy
  • #1e2a88 Protanomaly 1% of men, 0.01% of women
  • #1e2d7e Deuteranomaly 6% of men, 0.4% of women
  • #492b65 Tritanomaly 0.01% of the population