#5f42e7 Color Information

In a RGB color space, hex #5f42e7 is composed of 37.3% red, 25.9% green and 90.6% blue. Whereas in a CMYK color space, it is composed of 58.9% cyan, 71.4% magenta, 0% yellow and 9.4% black. It has a hue angle of 250.5 degrees, a saturation of 77.5% and a lightness of 58.2%. #5f42e7 color hex could be obtained by blending #be84ff with #0000cf. Closest websafe color is: #6633ff.

    • R 37
    • G 26
    • B 91
    RGB color chart
    • C 59
    • M 71
    • Y 0
    • K 9
    CMYK color chart

#5f42e7 color description : Bright blue.

#5f42e7 Color Conversion

The hexadecimal color #5f42e7 has RGB values of R:95, G:66, B:231 and CMYK values of C:0.59, M:0.71, Y:0, K:0.09. Its decimal value is 6243047.

Hex triplet 5f42e7 #5f42e7
RGB Decimal 95, 66, 231 rgb(95,66,231)
RGB Percent 37.3, 25.9, 90.6 rgb(37.3%,25.9%,90.6%)
CMYK 59, 71, 0, 9
HSL 250.5°, 77.5, 58.2 hsl(250.5,77.5%,58.2%)
HSV (or HSB) 250.5°, 71.4, 90.6
Web Safe 6633ff #6633ff
CIE-LAB 41.372, 55.404, -79.131
XYZ 21.089, 12.098, 76.821
xyY 0.192, 0.11, 12.098
CIE-LCH 41.372, 96.599, 304.998
CIE-LUV 41.372, -1.633, -116.649
Hunter-Lab 34.782, 47.356, -106.601
Binary 01011111, 01000010, 11100111

Color Schemes with #5f42e7

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

Alternatives to #5f42e7

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

Similar Colors

#5f42e7 Preview

Text with hexadecimal color #5f42e7

This text has a font color of #5f42e7.

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

This paragraph has a background color of #5f42e7.

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

This element has a border color of #5f42e7.

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

Shades and Tints of #5f42e7

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

Shade Color Variation
Tint Color Variation

Tones of #5f42e7

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42e7 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
  • #5d5d5d Achromatopsia 0.005% of the population
  • #5d5879 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0066c7 Protanopia 1% of men
  • #006cae Deuteranopia 1% of men
  • #1c737c Tritanopia 0.001% of the population
Trichromacy
  • #2259d3 Protanomaly 1% of men, 0.01% of women
  • #225dc2 Deuteranomaly 6% of men, 0.4% of women
  • #3461a2 Tritanomaly 0.01% of the population