Recognised as Colour
#310A21
- #310A21
- Magenta
- Dark
- Nearest: Black
#310A21 is a magenta with RGB values 49, 10, 33 and HSL 325°, 66%, 12%. It is a dark colour, so white text on it reaches 17.6:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#310A21#310A21
HEX#310A21
RGBrgb(49, 10, 33)
RGB (0–1)0.1922, 0.0392, 0.1294
RGB percentages19.2%, 3.9%, 12.9%
HSLhsl(324.6, 66.1%, 11.6%)
HSV / HSBhsv(324.6, 79.6%, 19.2%)
CMYK0%, 79.6%, 32.7%, 80.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,213,857
CSS custom property--colour: #310A21;
Brightness & contrast
Relative luminance0.0098WCAG 2.x, 0 is black and 1 is white
Perceived brightness30 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.56:1
Contrast with white17.56:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#141414
Inverted#CEF5DE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.56:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0A311A
Analogous#2E0A31, #310A0D
Triadic#21310A, #0A2131
Split complementary#0D310A, #0A312E
Tetradic#312E0A, #0A311A, #0A0D31
Tints, shades & saturation
Channel breakdown
R49
G10
B33
Red49 (19.2%)
Green10 (3.9%)
Blue33 (12.9%)
Hue324.62°
Saturation (HSL)66.1%
Lightness11.57%
Dominant channelRed
Hex per channelR 31 · G 0A · 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