Recognised as Colour
#21031C
- #21031C
- Magenta
- Dark
- Nearest: Black
#21031C is a magenta with RGB values 33, 3, 28 and HSL 310°, 83%, 7%. It is a dark colour, so white text on it reaches 19.2:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#21031C#21031C
HEX#21031C
RGBrgb(33, 3, 28)
RGB (0–1)0.1294, 0.0118, 0.1098
RGB percentages12.9%, 1.2%, 11%
HSLhsl(310, 83.3%, 7.1%)
HSV / HSBhsv(310, 90.9%, 12.9%)
CMYK0%, 90.9%, 15.2%, 87.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,163,484
CSS custom property--colour: #21031C;
Brightness & contrast
Relative luminance0.00472WCAG 2.x, 0 is black and 1 is white
Perceived brightness20.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 19.19:1
Contrast with white19.19:1WCAG normal text: AAA
Contrast with black1.09:1WCAG normal text: Fail
Greyscale equivalent#0B0B0B
Inverted#DEFCE3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text19.19:1WCAG large text: AAA
Contrast with black, large text1.09:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#032108
Analogous#170321, #21030D
Triadic#1C2103, #031C21
Split complementary#0D2103, #032117
Tetradic#211703, #032108, #030D21
Tints, shades & saturation
Channel breakdown
R33
G3
B28
Red33 (12.9%)
Green3 (1.2%)
Blue28 (11%)
Hue310°
Saturation (HSL)83.33%
Lightness7.06%
Dominant channelRed
Hex per channelR 21 · G 03 · B 1C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page