#21131F color

#21131F rgb(33, 19, 31)
Shades of black

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

In the RGB color model it is made of 12.9% red, 7.5% green and 12.2% blue (33, 19, 31).

Its hue angle is 309°, with 27% saturation and 10% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 6% yellow and 87% black.

The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.1 ΔE, a small difference.

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

#21131F color codes

HEX#21131F
RGBrgb(33, 19, 31)
RGB percentrgb(12.9%, 7.5%, 12.2%)
HSLhsl(309, 27%, 10%)
HSV / HSBhsv(309, 42%, 13%)
CMYKcmyk(0%, 42%, 6%, 87%)
CIE LABlab(8.02, 9.81, -5.54)
CIE LCHlch(8.02, 11.26, 330.54)
CIE XYZxyz(1.107, 0.888, 1.409)
Decimal2167583
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #21131F, 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 #21131FRatioAAAAAAA large
Sample text1.18:1FailFailFail
Sample text17.83:1PassPassPass
#21131F as text onRatioAAAAAAA large
Sample text17.83:1PassPassPass
Sample text1.18: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 #21131F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #21131f; }
.text { color: #21131f; }
.border { border: 2px solid #21131f; }
.transparent { background-color: rgb(33 19 31 / 50%); }
.gradient { background: linear-gradient(to right, #21131f, #211318); }
Background
Text color
Border

Similar colors

Closest common color name: Dark Purple.

Questions

What color is #21131F?
#21131F is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
What is the RGB value of #21131F?
The RGB value is 33, 19, 31: 33 red, 19 green and 31 blue on a 0 to 255 scale.
What is the complementary color of #21131F?
The complementary color is #132115, found by rotating the hue 180° on the color wheel.
Is black or white text better on #21131F?
White text. Black text has a contrast ratio of 1.18:1 and white text 17.83:1. WCAG asks for at least 4.5:1 for normal text.