#2a1f42 Color Information

In a RGB color space, hex #2a1f42 is composed of 16.5% red, 12.2% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 36.4% cyan, 53% magenta, 0% yellow and 74.1% black. It has a hue angle of 258.9 degrees, a saturation of 36.1% and a lightness of 19%. #2a1f42 color hex could be obtained by blending #543e84 with #000000. Closest websafe color is: #333333.

    • R 16
    • G 12
    • B 26
    RGB color chart
    • C 36
    • M 53
    • Y 0
    • K 74
    CMYK color chart

#2a1f42 color description : Very dark desaturated violet.

#2a1f42 Color Conversion

The hexadecimal color #2a1f42 has RGB values of R:42, G:31, B:66 and CMYK values of C:0.36, M:0.53, Y:0, K:0.74. Its decimal value is 2760514.

Hex triplet 2a1f42 #2a1f42
RGB Decimal 42, 31, 66 rgb(42,31,66)
RGB Percent 16.5, 12.2, 25.9 rgb(16.5%,12.2%,25.9%)
CMYK 36, 53, 0, 74
HSL 258.9°, 36.1, 19 hsl(258.9,36.1%,19%)
HSV (or HSB) 258.9°, 53, 25.9
Web Safe 333333 #333333
CIE-LAB 14.765, 14.648, -20.374
XYZ 2.428, 1.866, 5.386
xyY 0.251, 0.193, 1.866
CIE-LCH 14.765, 25.093, 305.714
CIE-LUV 14.765, 2.056, -20.692
Hunter-Lab 13.659, 7.829, -13.82
Binary 00101010, 00011111, 01000010

Color Schemes with #2a1f42

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

Alternatives to #2a1f42

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

Similar Colors

#2a1f42 Preview

Text with hexadecimal color #2a1f42

This text has a font color of #2a1f42.

<span style="color:#2a1f42;">Text here</span>
#2a1f42 background color

This paragraph has a background color of #2a1f42.

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

This element has a border color of #2a1f42.

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

Shades and Tints of #2a1f42

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, #08060d is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #2a1f42

A tone is produced by adding gray to any pure hue. In this case, #302e33 is the less saturated color, while #1f0160 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a1f42 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
  • #262626 Achromatopsia 0.005% of the population
  • #27252c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #202f4f Protanopia 1% of men
  • #213049 Deuteranopia 1% of men
  • #2f3034 Tritanopia 0.001% of the population
Trichromacy
  • #24294a Protanomaly 1% of men, 0.01% of women
  • #242a46 Deuteranomaly 6% of men, 0.4% of women
  • #2d2a39 Tritanomaly 0.01% of the population