Recognised as Colour
#31021F
- #31021F
- Magenta
- Dark
- Nearest: Black
#31021F is a magenta with RGB values 49, 2, 31 and HSL 323°, 92%, 10%. It is a dark colour, so white text on it reaches 18.1:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#31021F#31021F
HEX#31021F
RGBrgb(49, 2, 31)
RGB (0–1)0.1922, 0.0078, 0.1216
RGB percentages19.2%, 0.8%, 12.2%
HSLhsl(323, 92.2%, 10%)
HSV / HSBhsv(323, 95.9%, 19.2%)
CMYK0%, 95.9%, 36.7%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,211,807
CSS custom property--colour: #31021F;
Brightness & contrast
Relative luminance0.00795WCAG 2.x, 0 is black and 1 is white
Perceived brightness28.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 18.12:1
Contrast with white18.12:1WCAG normal text: AAA
Contrast with black1.16:1WCAG normal text: Fail
Greyscale equivalent#0E0E0E
Inverted#CEFDE0
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text18.12:1WCAG large text: AAA
Contrast with black, large text1.16:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#023114
Analogous#2B0231, #310208
Triadic#1F3102, #021F31
Split complementary#073102, #02312C
Tetradic#312C02, #023114, #020731
Tints, shades & saturation
Channel breakdown
R49
G2
B31
Red49 (19.2%)
Green2 (0.8%)
Blue31 (12.2%)
Hue322.98°
Saturation (HSL)92.16%
Lightness10%
Dominant channelRed
Hex per channelR 31 · G 02 · B 1F
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