#5402a8 Color Information

In a RGB color space, hex #5402a8 is composed of 32.9% red, 0.8% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 50% cyan, 98.8% magenta, 0% yellow and 34.1% black. It has a hue angle of 269.6 degrees, a saturation of 97.6% and a lightness of 33.3%. #5402a8 color hex could be obtained by blending #a804ff with #000051. Closest websafe color is: #660099.

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

#5402a8 color description : Dark violet.

#5402a8 Color Conversion

The hexadecimal color #5402a8 has RGB values of R:84, G:2, B:168 and CMYK values of C:0.5, M:0.99, Y:0, K:0.34. Its decimal value is 5505704.

Hex triplet 5402a8 #5402a8
RGB Decimal 84, 2, 168 rgb(84,2,168)
RGB Percent 32.9, 0.8, 65.9 rgb(32.9%,0.8%,65.9%)
CMYK 50, 99, 0, 34
HSL 269.6°, 97.6, 33.3 hsl(269.6,97.6%,33.3%)
HSV (or HSB) 269.6°, 98.8, 65.9
Web Safe 660099 #660099
CIE-LAB 26.026, 60.615, -67.602
XYZ 10.745, 4.755, 37.395
xyY 0.203, 0.09, 4.755
CIE-LCH 26.026, 90.797, 311.881
CIE-LUV 26.026, 7.917, -83.916
Hunter-Lab 21.807, 49.788, -86.409
Binary 01010100, 00000010, 10101000

Color Schemes with #5402a8

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

Alternatives to #5402a8

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

Similar Colors

#5402a8 Preview

Text with hexadecimal color #5402a8

This text has a font color of #5402a8.

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

This paragraph has a background color of #5402a8.

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

This element has a border color of #5402a8.

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

Shades and Tints of #5402a8

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, #06000d is the darkest color, while #fcf9ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5402a8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5402a8 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #352446 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004975 Deuteranopia 1% of men
  • #3b494f Tritanopia 0.001% of the population
Trichromacy
  • #1e2d93 Protanomaly 1% of men, 0.01% of women
  • #1e2f87 Deuteranomaly 6% of men, 0.4% of women
  • #442f6f Tritanomaly 0.01% of the population