#5b42c6 Color Information

In a RGB color space, hex #5b42c6 is composed of 35.7% red, 25.9% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 54% cyan, 66.7% magenta, 0% yellow and 22.4% black. It has a hue angle of 251.4 degrees, a saturation of 53.7% and a lightness of 51.8%. #5b42c6 color hex could be obtained by blending #b684ff with #00008d. Closest websafe color is: #6633cc.

    • R 36
    • G 26
    • B 78
    RGB color chart
    • C 54
    • M 67
    • Y 0
    • K 22
    CMYK color chart

#5b42c6 color description : Moderate blue.

#5b42c6 Color Conversion

The hexadecimal color #5b42c6 has RGB values of R:91, G:66, B:198 and CMYK values of C:0.54, M:0.67, Y:0, K:0.22. Its decimal value is 5980870.

Hex triplet 5b42c6 #5b42c6
RGB Decimal 91, 66, 198 rgb(91,66,198)
RGB Percent 35.7, 25.9, 77.6 rgb(35.7%,25.9%,77.6%)
CMYK 54, 67, 0, 22
HSL 251.4°, 53.7, 51.8 hsl(251.4,53.7%,51.8%)
HSV (or HSB) 251.4°, 66.7, 77.6
Web Safe 6633cc #6633cc
CIE-LAB 38.194, 45.067, -65.382
XYZ 16.454, 10.197, 54.524
xyY 0.203, 0.126, 10.197
CIE-LCH 38.194, 79.409, 304.578
CIE-LUV 38.194, -0.094, -95.691
Hunter-Lab 31.933, 36.09, -78.881
Binary 01011011, 01000010, 11000110

Color Schemes with #5b42c6

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

Alternatives to #5b42c6

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

Similar Colors

#5b42c6 Preview

Text with hexadecimal color #5b42c6

This text has a font color of #5b42c6.

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

This paragraph has a background color of #5b42c6.

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

This element has a border color of #5b42c6.

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

Shades and Tints of #5b42c6

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

Shade Color Variation
Tint Color Variation

Tones of #5b42c6

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b42c6 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
  • #595959 Achromatopsia 0.005% of the population
  • #59546f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005fba Protanopia 1% of men
  • #0064a3 Deuteranopia 1% of men
  • #3b6970 Tritanopia 0.001% of the population
Trichromacy
  • #2154be Protanomaly 1% of men, 0.01% of women
  • #2158b0 Deuteranomaly 6% of men, 0.4% of women
  • #465a8f Tritanomaly 0.01% of the population