Recognised as Colour
#7E1271
- #7E1271
- Magenta
- Dark
- Nearest: Purple
#7E1271 is a magenta with RGB values 126, 18, 113 and HSL 307°, 75%, 28%. It is a dark colour, so white text on it reaches 9.5:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#7E1271#7E1271
HEX#7E1271
RGBrgb(126, 18, 113)
RGB (0–1)0.4941, 0.0706, 0.4431
RGB percentages49.4%, 7.1%, 44.3%
HSLhsl(307.2, 75%, 28.2%)
HSV / HSBhsv(307.2, 85.7%, 49.4%)
CMYK0%, 85.7%, 10.3%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,262,257
CSS custom property--colour: #7E1271;
Brightness & contrast
Relative luminance0.0606WCAG 2.x, 0 is black and 1 is white
Perceived brightness80 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.49:1
Contrast with white9.49:1WCAG normal text: AAA
Contrast with black2.21:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#81ED8E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.49:1WCAG large text: AAA
Contrast with black, large text2.21:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#127E1F
Analogous#55127E, #7E123B
Triadic#717E12, #12717E
Split complementary#3B7E12, #127E55
Tetradic#7E5512, #127E1F, #123B7E
Tints, shades & saturation
Channel breakdown
R126
G18
B113
Red126 (49.4%)
Green18 (7.1%)
Blue113 (44.3%)
Hue307.22°
Saturation (HSL)75%
Lightness28.24%
Dominant channelRed
Hex per channelR 7E · G 12 · B 71
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