#5b42b7 Color Information

In a RGB color space, hex #5b42b7 is composed of 35.7% red, 25.9% green and 71.8% blue. Whereas in a CMYK color space, it is composed of 50.3% cyan, 63.9% magenta, 0% yellow and 28.2% black. It has a hue angle of 252.8 degrees, a saturation of 47% and a lightness of 48.8%. #5b42b7 color hex could be obtained by blending #b684ff with #00006f. Closest websafe color is: #6633cc.

    • R 36
    • G 26
    • B 72
    RGB color chart
    • C 50
    • M 64
    • Y 0
    • K 28
    CMYK color chart

#5b42b7 color description : Moderate blue.

#5b42b7 Color Conversion

The hexadecimal color #5b42b7 has RGB values of R:91, G:66, B:183 and CMYK values of C:0.5, M:0.64, Y:0, K:0.28. Its decimal value is 5980855.

Hex triplet 5b42b7 #5b42b7
RGB Decimal 91, 66, 183 rgb(91,66,183)
RGB Percent 35.7, 25.9, 71.8 rgb(35.7%,25.9%,71.8%)
CMYK 50, 64, 0, 28
HSL 252.8°, 47, 48.8 hsl(252.8,47%,48.8%)
HSV (or HSB) 252.8°, 63.9, 71.8
Web Safe 6633cc #6633cc
CIE-LAB 37.002, 40.587, -58.533
XYZ 14.808, 9.539, 45.858
xyY 0.211, 0.136, 9.539
CIE-LCH 37.002, 71.228, 304.738
CIE-LUV 37.002, 1.266, -85.515
Hunter-Lab 30.886, 31.533, -66.413
Binary 01011011, 01000010, 10110111

Color Schemes with #5b42b7

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

Alternatives to #5b42b7

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

Similar Colors

#5b42b7 Preview

Text with hexadecimal color #5b42b7

This text has a font color of #5b42b7.

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

This paragraph has a background color of #5b42b7.

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

This element has a border color of #5b42b7.

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

Shades and Tints of #5b42b7

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, #05040a is the darkest color, while #fbfbfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5b42b7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5b42b7 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
  • #58536a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005cb5 Protanopia 1% of men
  • #00619f Deuteranopia 1% of men
  • #45646c Tritanopia 0.001% of the population
Trichromacy
  • #2153b6 Protanomaly 1% of men, 0.01% of women
  • #2156a8 Deuteranomaly 6% of men, 0.4% of women
  • #4d5887 Tritanomaly 0.01% of the population