Recognised as Colour
#271A22
- #271A22
- Magenta
- Dark
- Nearest: Black
#271A22 is a magenta with RGB values 39, 26, 34 and HSL 323°, 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
#271A22#271A22
HEX#271A22
RGBrgb(39, 26, 34)
RGB (0–1)0.1529, 0.102, 0.1333
RGB percentages15.3%, 10.2%, 13.3%
HSLhsl(323.1, 20%, 12.7%)
HSV / HSBhsv(323.1, 33.3%, 15.3%)
CMYK0%, 33.3%, 12.8%, 84.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,562,594
CSS custom property--colour: #271A22;
Brightness & contrast
Relative luminance0.01286WCAG 2.x, 0 is black and 1 is white
Perceived brightness31.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.7:1
Contrast with white16.7:1WCAG normal text: AAA
Contrast with black1.26:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#D8E5DD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.7: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#1A271F
Analogous#261A27, #271A1B
Triadic#22271A, #1A2227
Split complementary#1B271A, #1A2726
Tetradic#27261A, #1A271F, #1A1B27
Tints, shades & saturation
Channel breakdown
R39
G26
B34
Red39 (15.3%)
Green26 (10.2%)
Blue34 (13.3%)
Hue323.08°
Saturation (HSL)20%
Lightness12.75%
Dominant channelRed
Hex per channelR 27 · G 1A · B 22
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