#28172b Color Information

In a RGB color space, hex #28172b is composed of 15.7% red, 9% green and 16.9% blue. Whereas in a CMYK color space, it is composed of 7% cyan, 46.5% magenta, 0% yellow and 83.1% black. It has a hue angle of 291 degrees, a saturation of 30.3% and a lightness of 12.9%. #28172b color hex could be obtained by blending #502e56 with #000000. Closest websafe color is: #330033.

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

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

#28172b Color Conversion

The hexadecimal color #28172b has RGB values of R:40, G:23, B:43 and CMYK values of C:0.07, M:0.47, Y:0, K:0.83. Its decimal value is 2627371.

Hex triplet 28172b #28172b
RGB Decimal 40, 23, 43 rgb(40,23,43)
RGB Percent 15.7, 9, 16.9 rgb(15.7%,9%,16.9%)
CMYK 7, 47, 0, 83
HSL 291°, 30.3, 12.9 hsl(291,30.3%,12.9%)
HSV (or HSB) 291°, 46.5, 16.9
Web Safe 330033 #330033
CIE-LAB 10.837, 12.929, -10.109
XYZ 1.617, 1.238, 2.439
xyY 0.305, 0.234, 1.238
CIE-LCH 10.837, 16.412, 321.981
CIE-LUV 10.837, 5.26, -8.905
Hunter-Lab 11.128, 6.47, -5.206
Binary 00101000, 00010111, 00101011

Color Schemes with #28172b

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

Alternatives to #28172b

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

Similar Colors

#28172b Preview

Text with hexadecimal color #28172b

This text has a font color of #28172b.

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

This paragraph has a background color of #28172b.

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

This element has a border color of #28172b.

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

Shades and Tints of #28172b

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

Shade Color Variation
Tint Color Variation

Tones of #28172b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #28172b 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
  • #1e1e1e Achromatopsia 0.005% of the population
  • #201d21 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #222839 Protanopia 1% of men
  • #262834 Deuteranopia 1% of men
  • #312628 Tritanopia 0.001% of the population
Trichromacy
  • #242234 Protanomaly 1% of men, 0.01% of women
  • #262230 Deuteranomaly 6% of men, 0.4% of women
  • #2d2029 Tritanomaly 0.01% of the population