Recognised as Colour
#8A3871
- #8A3871
- Magenta
- Dark
- Nearest: Purple
#8A3871 is a magenta with RGB values 138, 56, 113 and HSL 318°, 42%, 38%. It is a dark colour, so white text on it reaches 7.3:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#8A3871#8A3871
HEX#8A3871
RGBrgb(138, 56, 113)
RGB (0–1)0.5412, 0.2196, 0.4431
RGB percentages54.1%, 22%, 44.3%
HSLhsl(318.3, 42.3%, 38%)
HSV / HSBhsv(318.3, 59.4%, 54.1%)
CMYK0%, 59.4%, 18.1%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,058,417
CSS custom property--colour: #8A3871;
Brightness & contrast
Relative luminance0.09424WCAG 2.x, 0 is black and 1 is white
Perceived brightness94.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.28:1
Contrast with white7.28:1WCAG normal text: AAA
Contrast with black2.88:1WCAG normal text: Fail
Greyscale equivalent#4E4E4E
Inverted#75C78E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.28:1WCAG large text: AAA
Contrast with black, large text2.88:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#388A51
Analogous#7A388A, #8A3848
Triadic#718A38, #38718A
Split complementary#488A38, #388A7A
Tetradic#8A7A38, #388A51, #38488A
Tints, shades & saturation
Channel breakdown
R138
G56
B113
Red138 (54.1%)
Green56 (22%)
Blue113 (44.3%)
Hue318.29°
Saturation (HSL)42.27%
Lightness38.04%
Dominant channelRed
Hex per channelR 8A · G 38 · 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