#5f42b7 Color Information

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

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

#5f42b7 color description : Moderate blue.

#5f42b7 Color Conversion

The hexadecimal color #5f42b7 has RGB values of R:95, G:66, B:183 and CMYK values of C:0.48, M:0.64, Y:0, K:0.28. Its decimal value is 6242999.

Hex triplet 5f42b7 #5f42b7
RGB Decimal 95, 66, 183 rgb(95,66,183)
RGB Percent 37.3, 25.9, 71.8 rgb(37.3%,25.9%,71.8%)
CMYK 48, 64, 0, 28
HSL 254.9°, 47, 48.8 hsl(254.9,47%,48.8%)
HSV (or HSB) 254.9°, 63.9, 71.8
Web Safe 6633cc #6633cc
CIE-LAB 37.386, 41.363, -57.892
XYZ 15.213, 9.748, 45.877
xyY 0.215, 0.138, 9.748
CIE-LCH 37.386, 71.15, 305.545
CIE-LUV 37.386, 2.74, -85.045
Hunter-Lab 31.222, 32.339, -65.265
Binary 01011111, 01000010, 10110111

Color Schemes with #5f42b7

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

Alternatives to #5f42b7

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

Similar Colors

#5f42b7 Preview

Text with hexadecimal color #5f42b7

This text has a font color of #5f42b7.

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

This paragraph has a background color of #5f42b7.

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

This element has a border color of #5f42b7.

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

Shades and Tints of #5f42b7

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 #5f42b7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42b7 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
  • #585858 Achromatopsia 0.005% of the population
  • #59546b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db7 Protanopia 1% of men
  • #0062a1 Deuteranopia 1% of men
  • #4b646b Tritanopia 0.001% of the population
Trichromacy
  • #2253b7 Protanomaly 1% of men, 0.01% of women
  • #2256a9 Deuteranomaly 6% of men, 0.4% of women
  • #525887 Tritanomaly 0.01% of the population