#5a42ba Color Information

In a RGB color space, hex #5a42ba is composed of 35.3% red, 25.9% green and 72.9% blue. Whereas in a CMYK color space, it is composed of 51.6% cyan, 64.5% magenta, 0% yellow and 27.1% black. It has a hue angle of 252 degrees, a saturation of 47.6% and a lightness of 49.4%. #5a42ba color hex could be obtained by blending #b484ff with #000075. Closest websafe color is: #6633cc.

    • R 35
    • G 26
    • B 73
    RGB color chart
    • C 52
    • M 65
    • Y 0
    • K 27
    CMYK color chart

#5a42ba color description : Moderate blue.

#5a42ba Color Conversion

The hexadecimal color #5a42ba has RGB values of R:90, G:66, B:186 and CMYK values of C:0.52, M:0.65, Y:0, K:0.27. Its decimal value is 5915322.

Hex triplet 5a42ba #5a42ba
RGB Decimal 90, 66, 186 rgb(90,66,186)
RGB Percent 35.3, 25.9, 72.9 rgb(35.3%,25.9%,72.9%)
CMYK 52, 65, 0, 27
HSL 252°, 47.6, 49.4 hsl(252,47.6%,49.4%)
HSV (or HSB) 252°, 64.5, 72.9
Web Safe 6633cc #6633cc
CIE-LAB 37.142, 41.296, -60.077
XYZ 15.026, 9.615, 47.516
xyY 0.208, 0.133, 9.615
CIE-LCH 37.142, 72.901, 304.504
CIE-LUV 37.142, 0.634, -87.689
Hunter-Lab 31.008, 32.235, -69.149
Binary 01011010, 01000010, 10111010

Color Schemes with #5a42ba

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

Alternatives to #5a42ba

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

Similar Colors

#5a42ba Preview

Text with hexadecimal color #5a42ba

This text has a font color of #5a42ba.

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

This paragraph has a background color of #5a42ba.

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

This element has a border color of #5a42ba.

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

Shades and Tints of #5a42ba

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, #06040c is the darkest color, while #fdfdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a42ba

A tone is produced by adding gray to any pure hue. In this case, #7d7c80 is the less saturated color, while #3708f4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42ba 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
  • #575757 Achromatopsia 0.005% of the population
  • #58536b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db6 Protanopia 1% of men
  • #0062a0 Deuteranopia 1% of men
  • #41656c Tritanopia 0.001% of the population
Trichromacy
  • #2053b7 Protanomaly 1% of men, 0.01% of women
  • #2056a9 Deuteranomaly 6% of men, 0.4% of women
  • #4a5888 Tritanomaly 0.01% of the population