#42157f Color Information

In a RGB color space, hex #42157f is composed of 25.9% red, 8.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 48% cyan, 83.5% magenta, 0% yellow and 50.2% black. It has a hue angle of 265.5 degrees, a saturation of 71.6% and a lightness of 29%. #42157f color hex could be obtained by blending #842afe with #000000. Closest websafe color is: #330066.

    • R 26
    • G 8
    • B 50
    RGB color chart
    • C 48
    • M 83
    • Y 0
    • K 50
    CMYK color chart

#42157f color description : Dark violet.

#42157f Color Conversion

The hexadecimal color #42157f has RGB values of R:66, G:21, B:127 and CMYK values of C:0.48, M:0.83, Y:0, K:0.5. Its decimal value is 4330879.

Hex triplet 42157f #42157f
RGB Decimal 66, 21, 127 rgb(66,21,127)
RGB Percent 25.9, 8.2, 49.8 rgb(25.9%,8.2%,49.8%)
CMYK 48, 83, 0, 50
HSL 265.5°, 71.6, 29 hsl(265.5,71.6%,29%)
HSV (or HSB) 265.5°, 83.5, 49.8
Web Safe 330066 #330066
CIE-LAB 20.93, 43.649, -50.706
XYZ 6.345, 3.227, 20.366
xyY 0.212, 0.108, 3.227
CIE-LCH 20.93, 66.905, 310.723
CIE-LUV 20.93, 5.781, -59.22
Hunter-Lab 17.963, 31.614, -54.646
Binary 01000010, 00010101, 01111111

Color Schemes with #42157f

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

Alternatives to #42157f

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

Similar Colors

#42157f Preview

Text with hexadecimal color #42157f

This text has a font color of #42157f.

<span style="color:#42157f;">Text here</span>
#42157f background color

This paragraph has a background color of #42157f.

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

This element has a border color of #42157f.

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

Shades and Tints of #42157f

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

Shade Color Variation
Tint Color Variation

Tones of #42157f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #42157f 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #332a3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e64 Deuteranopia 1% of men
  • #363e42 Tritanopia 0.001% of the population
Trichromacy
  • #182d77 Protanomaly 1% of men, 0.01% of women
  • #182f6e Deuteranomaly 6% of men, 0.4% of women
  • #3a2f58 Tritanomaly 0.01% of the population