Recognised as Colour
#331A27
- #331A27
- Magenta
- Dark
- Nearest: Black
#331A27 is a magenta with RGB values 51, 26, 39 and HSL 329°, 32%, 15%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#331A27#331A27
HEX#331A27
RGBrgb(51, 26, 39)
RGB (0–1)0.2, 0.102, 0.1529
RGB percentages20%, 10.2%, 15.3%
HSLhsl(328.8, 32.5%, 15.1%)
HSV / HSBhsv(328.8, 49%, 20%)
CMYK0%, 49%, 23.5%, 80%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,349,031
CSS custom property--colour: #331A27;
Brightness & contrast
Relative luminance0.01589WCAG 2.x, 0 is black and 1 is white
Perceived brightness36.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.94:1
Contrast with white15.94:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#CCE5D8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.94:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1A3326
Analogous#321A33, #331A1B
Triadic#27331A, #1A2733
Split complementary#1A331A, #1A3332
Tetradic#33331A, #1A3326, #1A1B33
Tints, shades & saturation
Channel breakdown
R51
G26
B39
Red51 (20%)
Green26 (10.2%)
Blue39 (15.3%)
Hue328.8°
Saturation (HSL)32.47%
Lightness15.1%
Dominant channelRed
Hex per channelR 33 · 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