#5f42ca Color Information

In a RGB color space, hex #5f42ca is composed of 37.3% red, 25.9% green and 79.2% blue. Whereas in a CMYK color space, it is composed of 53% cyan, 67.3% magenta, 0% yellow and 20.8% black. It has a hue angle of 252.8 degrees, a saturation of 56.2% and a lightness of 52.5%. #5f42ca color hex could be obtained by blending #be84ff with #000095. Closest websafe color is: #6633cc.

    • R 37
    • G 26
    • B 79
    RGB color chart
    • C 53
    • M 67
    • Y 0
    • K 21
    CMYK color chart

#5f42ca color description : Moderate blue.

#5f42ca Color Conversion

The hexadecimal color #5f42ca has RGB values of R:95, G:66, B:202 and CMYK values of C:0.53, M:0.67, Y:0, K:0.21. Its decimal value is 6243018.

Hex triplet 5f42ca #5f42ca
RGB Decimal 95, 66, 202 rgb(95,66,202)
RGB Percent 37.3, 25.9, 79.2 rgb(37.3%,25.9%,79.2%)
CMYK 53, 67, 0, 21
HSL 252.8°, 56.2, 52.5 hsl(252.8,56.2%,52.5%)
HSV (or HSB) 252.8°, 67.3, 79.2
Web Safe 6633cc #6633cc
CIE-LAB 38.887, 46.923, -66.562
XYZ 17.326, 10.593, 57.006
xyY 0.204, 0.125, 10.593
CIE-LCH 38.887, 81.439, 305.182
CIE-LUV 38.887, 0.884, -97.959
Hunter-Lab 32.547, 38.066, -81.062
Binary 01011111, 01000010, 11001010

Color Schemes with #5f42ca

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

Alternatives to #5f42ca

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

Similar Colors

#5f42ca Preview

Text with hexadecimal color #5f42ca

This text has a font color of #5f42ca.

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

This paragraph has a background color of #5f42ca.

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

This element has a border color of #5f42ca.

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

Shades and Tints of #5f42ca

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

Shade Color Variation
Tint Color Variation

Tones of #5f42ca

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42ca 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
  • #5a5a5a Achromatopsia 0.005% of the population
  • #5b5570 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0061bd Protanopia 1% of men
  • #0066a6 Deuteranopia 1% of men
  • #3f6a72 Tritanopia 0.001% of the population
Trichromacy
  • #2255c2 Protanomaly 1% of men, 0.01% of women
  • #2259b3 Deuteranomaly 6% of men, 0.4% of women
  • #4b5b92 Tritanomaly 0.01% of the population