#5f42a9 Color Information

In a RGB color space, hex #5f42a9 is composed of 37.3% red, 25.9% green and 66.3% blue. Whereas in a CMYK color space, it is composed of 43.8% cyan, 60.9% magenta, 0% yellow and 33.7% black. It has a hue angle of 256.9 degrees, a saturation of 43.8% and a lightness of 46.1%. #5f42a9 color hex could be obtained by blending #be84ff with #000053. Closest websafe color is: #663399.

    • R 37
    • G 26
    • B 66
    RGB color chart
    • C 44
    • M 61
    • Y 0
    • K 34
    CMYK color chart

#5f42a9 color description : Dark moderate violet.

#5f42a9 Color Conversion

The hexadecimal color #5f42a9 has RGB values of R:95, G:66, B:169 and CMYK values of C:0.44, M:0.61, Y:0, K:0.34. Its decimal value is 6242985.

Hex triplet 5f42a9 #5f42a9
RGB Decimal 95, 66, 169 rgb(95,66,169)
RGB Percent 37.3, 25.9, 66.3 rgb(37.3%,25.9%,66.3%)
CMYK 44, 61, 0, 34
HSL 256.9°, 43.8, 46.1 hsl(256.9,43.8%,46.1%)
HSV (or HSB) 256.9°, 60.9, 66.3
Web Safe 663399 #663399
CIE-LAB 36.355, 37.304, -51.257
XYZ 13.828, 9.194, 38.58
xyY 0.224, 0.149, 9.194
CIE-LCH 36.355, 63.395, 306.046
CIE-LUV 36.355, 4.23, -75.137
Hunter-Lab 30.321, 28.341, -54.214
Binary 01011111, 01000010, 10101001

Color Schemes with #5f42a9

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

Alternatives to #5f42a9

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

Similar Colors

#5f42a9 Preview

Text with hexadecimal color #5f42a9

This text has a font color of #5f42a9.

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

This paragraph has a background color of #5f42a9.

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

This element has a border color of #5f42a9.

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

Shades and Tints of #5f42a9

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, #08050e is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5f42a9

A tone is produced by adding gray to any pure hue. In this case, #736f7c is the less saturated color, while #4303e8 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42a9 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
  • #565656 Achromatopsia 0.005% of the population
  • #585267 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb3 Protanopia 1% of men
  • #00609e Deuteranopia 1% of men
  • #516067 Tritanopia 0.001% of the population
Trichromacy
  • #2252af Protanomaly 1% of men, 0.01% of women
  • #2255a2 Deuteranomaly 6% of men, 0.4% of women
  • #56557f Tritanomaly 0.01% of the population