#5f42b3 Color Information

In a RGB color space, hex #5f42b3 is composed of 37.3% red, 25.9% green and 70.2% blue. Whereas in a CMYK color space, it is composed of 46.9% cyan, 63.1% magenta, 0% yellow and 29.8% black. It has a hue angle of 255.4 degrees, a saturation of 46.1% and a lightness of 48%. #5f42b3 color hex could be obtained by blending #be84ff with #000067. Closest websafe color is: #6633cc.

    • R 37
    • G 26
    • B 70
    RGB color chart
    • C 47
    • M 63
    • Y 0
    • K 30
    CMYK color chart

#5f42b3 color description : Moderate violet.

#5f42b3 Color Conversion

The hexadecimal color #5f42b3 has RGB values of R:95, G:66, B:179 and CMYK values of C:0.47, M:0.63, Y:0, K:0.3. Its decimal value is 6242995.

Hex triplet 5f42b3 #5f42b3
RGB Decimal 95, 66, 179 rgb(95,66,179)
RGB Percent 37.3, 25.9, 70.2 rgb(37.3%,25.9%,70.2%)
CMYK 47, 63, 0, 30
HSL 255.4°, 46.1, 48 hsl(255.4,46.1%,48%)
HSV (or HSB) 255.4°, 63.1, 70.2
Web Safe 6633cc #6633cc
CIE-LAB 37.085, 40.198, -56.018
XYZ 14.803, 9.584, 43.715
xyY 0.217, 0.141, 9.584
CIE-LCH 37.085, 68.949, 305.663
CIE-LUV 37.085, 3.155, -82.25
Hunter-Lab 30.958, 31.176, -62.053
Binary 01011111, 01000010, 10110011

Color Schemes with #5f42b3

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

Alternatives to #5f42b3

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

Similar Colors

#5f42b3 Preview

Text with hexadecimal color #5f42b3

This text has a font color of #5f42b3.

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

This paragraph has a background color of #5f42b3.

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

This element has a border color of #5f42b3.

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

Shades and Tints of #5f42b3

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

Shade Color Variation
Tint Color Variation

Tones of #5f42b3

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f42b3 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
  • #59546a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db6 Protanopia 1% of men
  • #0061a0 Deuteranopia 1% of men
  • #4d636a Tritanopia 0.001% of the population
Trichromacy
  • #2253b4 Protanomaly 1% of men, 0.01% of women
  • #2256a7 Deuteranomaly 6% of men, 0.4% of women
  • #535785 Tritanomaly 0.01% of the population