#28172c Color Information

In a RGB color space, hex #28172c is composed of 15.7% red, 9% green and 17.3% blue. Whereas in a CMYK color space, it is composed of 9.1% cyan, 47.7% magenta, 0% yellow and 82.7% black. It has a hue angle of 288.6 degrees, a saturation of 31.3% and a lightness of 13.1%. #28172c color hex could be obtained by blending #502e58 with #000000. Closest websafe color is: #330033.

    • R 16
    • G 9
    • B 17
    RGB color chart
    • C 9
    • M 48
    • Y 0
    • K 83
    CMYK color chart

#28172c color description : Very dark (mostly black) magenta.

#28172c Color Conversion

The hexadecimal color #28172c has RGB values of R:40, G:23, B:44 and CMYK values of C:0.09, M:0.48, Y:0, K:0.83. Its decimal value is 2627372.

Hex triplet 28172c #28172c
RGB Decimal 40, 23, 44 rgb(40,23,44)
RGB Percent 15.7, 9, 17.3 rgb(15.7%,9%,17.3%)
CMYK 9, 48, 0, 83
HSL 288.6°, 31.3, 13.1 hsl(288.6,31.3%,13.1%)
HSV (or HSB) 288.6°, 47.7, 17.3
Web Safe 330033 #330033
CIE-LAB 10.891, 13.189, -10.76
XYZ 1.636, 1.246, 2.537
xyY 0.302, 0.23, 1.246
CIE-LCH 10.891, 17.021, 320.791
CIE-LUV 10.891, 5.158, -9.48
Hunter-Lab 11.162, 6.631, -5.663
Binary 00101000, 00010111, 00101100

Color Schemes with #28172c

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

Alternatives to #28172c

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

Similar Colors

#28172c Preview

Text with hexadecimal color #28172c

This text has a font color of #28172c.

<span style="color:#28172c;">Text here</span>
#28172c background color

This paragraph has a background color of #28172c.

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

This element has a border color of #28172c.

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

Shades and Tints of #28172c

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

Shade Color Variation
Tint Color Variation

Tones of #28172c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #28172c 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.

  • #1e1e1e Achromatopsia 0.005% of the population
  • #201d21 Atypical Achromatopsia 0.001% of the population
  • #22283a Protanopia 1% of men
  • #252835 Deuteranopia 1% of men
  • #302628 Tritanopia 0.001% of the population
  • #242235 Protanomaly 1% of men, 0.01% of women
  • #262231 Deuteranomaly 6% of men, 0.4% of women
  • #2d202a Tritanomaly 0.01% of the population