#3a1f78 Color Information

In a RGB color space, hex #3a1f78 is composed of 22.7% red, 12.2% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 51.7% cyan, 74.2% magenta, 0% yellow and 52.9% black. It has a hue angle of 258.2 degrees, a saturation of 58.9% and a lightness of 29.6%. #3a1f78 color hex could be obtained by blending #743ef0 with #000000. Closest websafe color is: #333366.

    • R 23
    • G 12
    • B 47
    RGB color chart
    • C 52
    • M 74
    • Y 0
    • K 53
    CMYK color chart

#3a1f78 color description : Dark violet.

#3a1f78 Color Conversion

The hexadecimal color #3a1f78 has RGB values of R:58, G:31, B:120 and CMYK values of C:0.52, M:0.74, Y:0, K:0.53. Its decimal value is 3809144.

Hex triplet 3a1f78 #3a1f78
RGB Decimal 58, 31, 120 rgb(58,31,120)
RGB Percent 22.7, 12.2, 47.1 rgb(22.7%,12.2%,47.1%)
CMYK 52, 74, 0, 53
HSL 258.2°, 58.9, 29.6 hsl(258.2,58.9%,29.6%)
HSV (or HSB) 258.2°, 74.2, 47.1
Web Safe 333366 #333366
CIE-LAB 20.963, 35.518, -46.232
XYZ 5.624, 3.235, 18.096
xyY 0.209, 0.12, 3.235
CIE-LCH 20.963, 58.3, 307.534
CIE-LUV 20.963, 2.621, -54.456
Hunter-Lab 17.987, 24.337, -47.058
Binary 00111010, 00011111, 01111000

Color Schemes with #3a1f78

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

Alternatives to #3a1f78

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

Similar Colors

#3a1f78 Preview

Text with hexadecimal color #3a1f78

This text has a font color of #3a1f78.

<span style="color:#3a1f78;">Text here</span>
#3a1f78 background color

This paragraph has a background color of #3a1f78.

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

This element has a border color of #3a1f78.

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

Shades and Tints of #3a1f78

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

Shade Color Variation
Tint Color Variation

Tones of #3a1f78

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #3a1f78 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
  • #313131 Achromatopsia 0.005% of the population
  • #332d3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e65 Deuteranopia 1% of men
  • #2e3f44 Tritanopia 0.001% of the population
Trichromacy
  • #153075 Protanomaly 1% of men, 0.01% of women
  • #15336c Deuteranomaly 6% of men, 0.4% of women
  • #323357 Tritanomaly 0.01% of the population