Recognised as Colour
#310D21
- #310D21
- Magenta
- Dark
- Nearest: Black
#310D21 is a magenta with RGB values 49, 13, 33 and HSL 327°, 58%, 12%. It is a dark colour, so white text on it reaches 17.4:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#310D21#310D21
HEX#310D21
RGBrgb(49, 13, 33)
RGB (0–1)0.1922, 0.051, 0.1294
RGB percentages19.2%, 5.1%, 12.9%
HSLhsl(326.7, 58.1%, 12.2%)
HSV / HSBhsv(326.7, 73.5%, 19.2%)
CMYK0%, 73.5%, 32.7%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,625
CSS custom property--colour: #310D21;
Brightness & contrast
Relative luminance0.01051WCAG 2.x, 0 is black and 1 is white
Perceived brightness30.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.35:1
Contrast with white17.35:1WCAG normal text: AAA
Contrast with black1.21:1WCAG normal text: Fail
Greyscale equivalent#161616
Inverted#CEF2DE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.35:1WCAG large text: AAA
Contrast with black, large text1.21:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0D311D
Analogous#2F0D31, #310D0F
Triadic#21310D, #0D2131
Split complementary#0F310D, #0D312F
Tetradic#312F0D, #0D311D, #0D0F31
Tints, shades & saturation
Channel breakdown
R49
G13
B33
Red49 (19.2%)
Green13 (5.1%)
Blue33 (12.9%)
Hue326.67°
Saturation (HSL)58.06%
Lightness12.16%
Dominant channelRed
Hex per channelR 31 · G 0D · B 21
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