#271128 color

#271128 rgb(39, 17, 40)
Shades of black

The hex color #271128 is a very dark, desaturated magenta.

In the RGB color model it is made of 15.3% red, 6.7% green and 15.7% blue (39, 17, 40).

Its hue angle is 297°, with 40% saturation and 11% lightness. For print, the CMYK equivalent is 2% cyan, 58% magenta, 0% yellow and 84% black.

The closest named color is Dark Prom Queen (#2B0F2E), a difference of 2.9 ΔE, a small difference.

White text is the more readable choice on this background (contrast 17.54:1).

#271128 color codes

HEX#271128
RGBrgb(39, 17, 40)
RGB percentrgb(15.3%, 6.7%, 15.7%)
HSLhsl(297, 40%, 11%)
HSV / HSBhsv(297, 57%, 16%)
CMYKcmyk(2%, 58%, 0%, 84%)
CIE LABlab(8.87, 15.95, -10.95)
CIE LCHlch(8.87, 19.35, 325.54)
CIE XYZxyz(1.42, 0.986, 2.122)
Decimal2560296
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #271128, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #271128RatioAAAAAAA large
Sample text1.2:1FailFailFail
Sample text17.54:1PassPassPass
#271128 as text onRatioAAAAAAA large
Sample text17.54:1PassPassPass
Sample text1.2:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #271128 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #271128; }
.text { color: #271128; }
.border { border: 2px solid #271128; }
.transparent { background-color: rgb(39 17 40 / 50%); }
.gradient { background: linear-gradient(to right, #271128, #28111e); }
Background
Text color
Border

Similar colors

Questions

What color is #271128?
#271128 is a very dark, desaturated magenta, closest to the named color Dark Prom Queen. It belongs to the black family of colors.
What is the RGB value of #271128?
The RGB value is 39, 17, 40: 39 red, 17 green and 40 blue on a 0 to 255 scale.
What is the complementary color of #271128?
The complementary color is #122811, found by rotating the hue 180° on the color wheel.
Is black or white text better on #271128?
White text. Black text has a contrast ratio of 1.2:1 and white text 17.54:1. WCAG asks for at least 4.5:1 for normal text.