Recognised as Colour
#7E1257
- #7E1257
- Magenta
- Dark
- Nearest: Purple
#7E1257 is a magenta with RGB values 126, 18, 87 and HSL 322°, 75%, 28%. It is a dark colour, so white text on it reaches 9.9:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#7E1257#7E1257
HEX#7E1257
RGBrgb(126, 18, 87)
RGB (0–1)0.4941, 0.0706, 0.3412
RGB percentages49.4%, 7.1%, 34.1%
HSLhsl(321.7, 75%, 28.2%)
HSV / HSBhsv(321.7, 85.7%, 49.4%)
CMYK0%, 85.7%, 31%, 50.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer8,262,231
CSS custom property--colour: #7E1257;
Brightness & contrast
Relative luminance0.05556WCAG 2.x, 0 is black and 1 is white
Perceived brightness76.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 9.95:1
Contrast with white9.95:1WCAG normal text: AAA
Contrast with black2.11:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#81EDA8
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text9.95:1WCAG large text: AAA
Contrast with black, large text2.11:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#127E39
Analogous#6F127E, #7E1221
Triadic#577E12, #12577E
Split complementary#217E12, #127E6F
Tetradic#7E6F12, #127E39, #12217E
Tints, shades & saturation
Channel breakdown
R126
G18
B87
Red126 (49.4%)
Green18 (7.1%)
Blue87 (34.1%)
Hue321.67°
Saturation (HSL)75%
Lightness28.24%
Dominant channelRed
Hex per channelR 7E · G 12 · B 57
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