#2a172a Color Information

In a RGB color space, hex #2a172a is composed of 16.5% red, 9% green and 16.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 45.2% magenta, 0% yellow and 83.5% black. It has a hue angle of 300 degrees, a saturation of 29.2% and a lightness of 12.7%. #2a172a color hex could be obtained by blending #542e54 with #000000. Closest websafe color is: #330033.

    • R 16
    • G 9
    • B 16
    RGB color chart
    • C 0
    • M 45
    • Y 0
    • K 84
    CMYK color chart

#2a172a color description : Very dark (mostly black) magenta.

#2a172a Color Conversion

The hexadecimal color #2a172a has RGB values of R:42, G:23, B:42 and CMYK values of C:0, M:0.45, Y:0, K:0.84. Its decimal value is 2758442.

Hex triplet 2a172a #2a172a
RGB Decimal 42, 23, 42 rgb(42,23,42)
RGB Percent 16.5, 9, 16.5 rgb(16.5%,9%,16.5%)
CMYK 0, 45, 0, 84
HSL 300°, 29.2, 12.7 hsl(300,29.2%,12.7%)
HSV (or HSB) 300°, 45.2, 16.5
Web Safe 330033 #330033
CIE-LAB 11.08, 13.497, -8.975
XYZ 1.679, 1.272, 2.347
xyY 0.317, 0.24, 1.272
CIE-LCH 11.08, 16.209, 326.379
CIE-LUV 11.08, 6.296, -8.143
Hunter-Lab 11.279, 6.833, -4.444
Binary 00101010, 00010111, 00101010

Color Schemes with #2a172a

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

Alternatives to #2a172a

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

Similar Colors

#2a172a Preview

Text with hexadecimal color #2a172a

This text has a font color of #2a172a.

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

This paragraph has a background color of #2a172a.

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

This element has a border color of #2a172a.

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

Shades and Tints of #2a172a

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

Shade Color Variation
Tint Color Variation

Tones of #2a172a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #2a172a 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
  • #1f1f1f Achromatopsia 0.005% of the population
  • #211d21 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #232838 Protanopia 1% of men
  • #272833 Deuteranopia 1% of men
  • #332528 Tritanopia 0.001% of the population
Trichromacy
  • #262233 Protanomaly 1% of men, 0.01% of women
  • #28222f Deuteranomaly 6% of men, 0.4% of women
  • #2f2029 Tritanomaly 0.01% of the population