#5a42d2 Color Information

In a RGB color space, hex #5a42d2 is composed of 35.3% red, 25.9% green and 82.4% blue. Whereas in a CMYK color space, it is composed of 57.1% cyan, 68.6% magenta, 0% yellow and 17.6% black. It has a hue angle of 250 degrees, a saturation of 61.5% and a lightness of 54.1%. #5a42d2 color hex could be obtained by blending #b484ff with #0000a5. Closest websafe color is: #6633cc.

    • R 35
    • G 26
    • B 82
    RGB color chart
    • C 57
    • M 69
    • Y 0
    • K 18
    CMYK color chart

#5a42d2 color description : Moderate blue.

#5a42d2 Color Conversion

The hexadecimal color #5a42d2 has RGB values of R:90, G:66, B:210 and CMYK values of C:0.57, M:0.69, Y:0, K:0.18. Its decimal value is 5915346.

Hex triplet 5a42d2 #5a42d2
RGB Decimal 90, 66, 210 rgb(90,66,210)
RGB Percent 35.3, 25.9, 82.4 rgb(35.3%,25.9%,82.4%)
CMYK 57, 69, 0, 18
HSL 250°, 61.5, 54.1 hsl(250,61.5%,54.1%)
HSV (or HSB) 250°, 68.6, 82.4
Web Safe 6633cc #6633cc
CIE-LAB 39.109, 48.499, -70.845
XYZ 17.795, 10.723, 62.101
xyY 0.196, 0.118, 10.723
CIE-LCH 39.109, 85.855, 304.395
CIE-LUV 39.109, -1.418, -103.666
Hunter-Lab 32.745, 39.7, -89.521
Binary 01011010, 01000010, 11010010

Color Schemes with #5a42d2

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

Alternatives to #5a42d2

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

Similar Colors

#5a42d2 Preview

Text with hexadecimal color #5a42d2

This text has a font color of #5a42d2.

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

This paragraph has a background color of #5a42d2.

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

This element has a border color of #5a42d2.

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

Shades and Tints of #5a42d2

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

Shade Color Variation
Tint Color Variation

Tones of #5a42d2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a42d2 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5a5572 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0061be Protanopia 1% of men
  • #0067a6 Deuteranopia 1% of men
  • #2d6c74 Tritanopia 0.001% of the population
Trichromacy
  • #2056c5 Protanomaly 1% of men, 0.01% of women
  • #2059b6 Deuteranomaly 6% of men, 0.4% of women
  • #3d5d96 Tritanomaly 0.01% of the population