Recognised as Colour
#8A5181
- #8A5181
- Magenta
- Dark
- Nearest: Dark slateblue
#8A5181 is a magenta with RGB values 138, 81, 129 and HSL 309°, 26%, 43%. It is a dark colour, so white text on it reaches 5.9:1 contrast (AA for normal text). The nearest named colour is Dark slateblue.
Colour values
#8A5181#8A5181
HEX#8A5181
RGBrgb(138, 81, 129)
RGB (0–1)0.5412, 0.3176, 0.5059
RGB percentages54.1%, 31.8%, 50.6%
HSLhsl(309.5, 26%, 42.9%)
HSV / HSBhsv(309.5, 41.3%, 54.1%)
CMYK0%, 41.3%, 6.5%, 45.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,064,833
CSS custom property--colour: #8A5181;
Brightness & contrast
Relative luminance0.12873WCAG 2.x, 0 is black and 1 is white
Perceived brightness107 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.87:1
Contrast with white5.87:1WCAG normal text: AA
Contrast with black3.57:1WCAG normal text: Fail
Greyscale equivalent#616161
Inverted#75AE7E
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text5.87:1WCAG large text: AAA
Contrast with black, large text3.57:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#518A5A
Analogous#76518A, #8A5165
Triadic#818A51, #51818A
Split complementary#658A51, #518A76
Tetradic#8A7651, #518A5A, #51658A
Tints, shades & saturation
Channel breakdown
R138
G81
B129
Red138 (54.1%)
Green81 (31.8%)
Blue129 (50.6%)
Hue309.47°
Saturation (HSL)26.03%
Lightness42.94%
Dominant channelRed
Hex per channelR 8A · G 51 · B 81
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