Recognised as Colour
#311A27
- #311A27
- Magenta
- Dark
- Nearest: Black
#311A27 is a magenta with RGB values 49, 26, 39 and HSL 326°, 31%, 15%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#311A27#311A27
HEX#311A27
RGBrgb(49, 26, 39)
RGB (0–1)0.1922, 0.102, 0.1529
RGB percentages19.2%, 10.2%, 15.3%
HSLhsl(326.1, 30.7%, 14.7%)
HSV / HSBhsv(326.1, 46.9%, 19.2%)
CMYK0%, 46.9%, 20.4%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,217,959
CSS custom property--colour: #311A27;
Brightness & contrast
Relative luminance0.01538WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.06:1
Contrast with white16.06:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#CEE5D8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.06:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1A3124
Analogous#301A31, #311A1B
Triadic#27311A, #1A2731
Split complementary#1C311A, #1A3130
Tetradic#31301A, #1A3124, #1A1C31
Tints, shades & saturation
Channel breakdown
R49
G26
B39
Red49 (19.2%)
Green26 (10.2%)
Blue39 (15.3%)
Hue326.09°
Saturation (HSL)30.67%
Lightness14.71%
Dominant channelRed
Hex per channelR 31 · G 1A · B 27
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page