Recognised as Colour
#31081E
- #31081E
- Magenta
- Dark
- Nearest: Black
#31081E is a magenta with RGB values 49, 8, 30 and HSL 328°, 72%, 11%. It is a dark colour, so white text on it reaches 17.7:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#31081E#31081E
HEX#31081E
RGBrgb(49, 8, 30)
RGB (0–1)0.1922, 0.0314, 0.1176
RGB percentages19.2%, 3.1%, 11.8%
HSLhsl(327.8, 71.9%, 11.2%)
HSV / HSBhsv(327.8, 83.7%, 19.2%)
CMYK0%, 83.7%, 38.8%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,213,342
CSS custom property--colour: #31081E;
Brightness & contrast
Relative luminance0.0092WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.74:1
Contrast with white17.74:1WCAG normal text: AAA
Contrast with black1.18:1WCAG normal text: Fail
Greyscale equivalent#121212
Inverted#CEF7E1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.74:1WCAG large text: AAA
Contrast with black, large text1.18:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#08311B
Analogous#2F0831, #31080A
Triadic#1E3108, #081E31
Split complementary#093108, #08312F
Tetradic#313008, #08311B, #080A31
Tints, shades & saturation
Channel breakdown
R49
G8
B30
Red49 (19.2%)
Green8 (3.1%)
Blue30 (11.8%)
Hue327.8°
Saturation (HSL)71.93%
Lightness11.18%
Dominant channelRed
Hex per channelR 31 · G 08 · B 1E
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