#5f42d7 Color Information

In a RGB color space, hex #5f42d7 is composed of 37.3% red, 25.9% green and 84.3% blue. Whereas in a CMYK color space, it is composed of 55.8% cyan, 69.3% magenta, 0% yellow and 15.7% black. It has a hue angle of 251.7 degrees, a saturation of 65.1% and a lightness of 55.1%. #5f42d7 color hex could be obtained by blending #be84ff with #0000af. Closest websafe color is: #6633cc.

    • R 37
    • G 26
    • B 84
    RGB color chart
    • C 56
    • M 69
    • Y 0
    • K 16
    CMYK color chart

#5f42d7 color description : Moderate blue.

#5f42d7 Color Conversion

The hexadecimal color #5f42d7 has RGB values of R:95, G:66, B:215 and CMYK values of C:0.56, M:0.69, Y:0, K:0.16. Its decimal value is 6243031.

Hex triplet 5f42d7 #5f42d7
RGB Decimal 95, 66, 215 rgb(95,66,215)
RGB Percent 37.3, 25.9, 84.3 rgb(37.3%,25.9%,84.3%)
CMYK 56, 69, 0, 16
HSL 251.7°, 65.1, 55.1 hsl(251.7,65.1%,55.1%)
HSV (or HSB) 251.7°, 69.3, 84.3
Web Safe 6633cc #6633cc
CIE-LAB 39.974, 50.734, -72.29
XYZ 18.931, 11.235, 65.457
xyY 0.198, 0.117, 11.235
CIE-LCH 39.974, 88.316, 305.061
CIE-LUV 39.974, -0.288, -106.476
Hunter-Lab 33.519, 42.157, -92.322
Binary 01011111, 01000010, 11010111

Color Schemes with #5f42d7

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

Alternatives to #5f42d7

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

Similar Colors

#5f42d7 Preview

Text with hexadecimal color #5f42d7

This text has a font color of #5f42d7.

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

This paragraph has a background color of #5f42d7.

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

This element has a border color of #5f42d7.

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

Shades and Tints of #5f42d7

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

Shade Color Variation
Tint Color Variation

Tones of #5f42d7

A tone is produced by adding gray to any pure hue. In this case, #8a8891 is the less saturated color, while #491ffa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42d7 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
  • #5c5c5c Achromatopsia 0.005% of the population
  • #5d5775 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0063c2 Protanopia 1% of men
  • #0069a9 Deuteranopia 1% of men
  • #346e76 Tritanopia 0.001% of the population
Trichromacy
  • #2257c9 Protanomaly 1% of men, 0.01% of women
  • #225aba Deuteranomaly 6% of men, 0.4% of women
  • #445e99 Tritanomaly 0.01% of the population