Recognised as Colour
#271A21
- #271A21
- Magenta
- Dark
- Nearest: Black
#271A21 is a magenta with RGB values 39, 26, 33 and HSL 328°, 20%, 13%. It is a dark colour, so white text on it reaches 16.7:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#271A21#271A21
HEX#271A21
RGBrgb(39, 26, 33)
RGB (0–1)0.1529, 0.102, 0.1294
RGB percentages15.3%, 10.2%, 12.9%
HSLhsl(327.7, 20%, 12.7%)
HSV / HSBhsv(327.7, 33.3%, 15.3%)
CMYK0%, 33.3%, 15.4%, 84.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,562,593
CSS custom property--colour: #271A21;
Brightness & contrast
Relative luminance0.0128WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.72:1
Contrast with white16.72:1WCAG normal text: AAA
Contrast with black1.26:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#D8E5DE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.72:1WCAG large text: AAA
Contrast with black, large text1.26:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1A2720
Analogous#261A27, #271A1B
Triadic#21271A, #1A2127
Split complementary#1B271A, #1A2726
Tetradic#27271A, #1A2720, #1A1B27
Tints, shades & saturation
Channel breakdown
R39
G26
B33
Red39 (15.3%)
Green26 (10.2%)
Blue33 (12.9%)
Hue327.69°
Saturation (HSL)20%
Lightness12.75%
Dominant channelRed
Hex per channelR 27 · G 1A · B 21
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