Nerdulator> put something in

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

Protanopia#505F83no red cones; affects about 1% of men; ΔE 28 from the original
Deuteranopia#5F677Fno green cones; the most common form, about 1% of men; ΔE 28.8 from the original
Tritanopia#8F5463no blue cones; rare, and affects men and women equally; ΔE 19.5 from the original
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

Nearest named CSS colourDark slateblue (#483D8B)ΔE 28.23, a distinctly different colour
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

Lighter +40%#DFC8DB
Lighter +30%#CCA8C6
Lighter +20%#B988B1
Lighter +10%#A6689C
Darker −10%#6A3E63
Darker −20%#4A2B45
Darker −30%#2A1827
Darker −40%#090609
More saturated +25%#A53694
Less saturated −25%#6F6C6E

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “8a5181” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.