Recognised as Colour
#A51787
- #A51787
- Magenta
- Dark
- Nearest: Dark magenta
#A51787 is a magenta with RGB values 165, 23, 135 and HSL 313°, 76%, 37%. It is a dark colour, so white text on it reaches 6.8:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#A51787#A51787
HEX#A51787
RGBrgb(165, 23, 135)
RGB (0–1)0.6471, 0.0902, 0.5294
RGB percentages64.7%, 9%, 52.9%
HSLhsl(312.7, 75.5%, 36.9%)
HSV / HSBhsv(312.7, 86.1%, 64.7%)
CMYK0%, 86.1%, 18.2%, 35.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,819,463
CSS custom property--colour: #A51787;
Brightness & contrast
Relative luminance0.10361WCAG 2.x, 0 is black and 1 is white
Perceived brightness102.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.84:1
Contrast with white6.84:1WCAG normal text: AA
Contrast with black3.07:1WCAG normal text: Fail
Greyscale equivalent#3D3D3D
Inverted#5AE878
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.84:1WCAG large text: AAA
Contrast with black, large text3.07:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#17A535
Analogous#7C17A5, #A51740
Triadic#87A517, #1787A5
Split complementary#40A517, #17A57C
Tetradic#A57C17, #17A535, #1740A5
Tints, shades & saturation
Channel breakdown
R165
G23
B135
Red165 (64.7%)
Green23 (9%)
Blue135 (52.9%)
Hue312.68°
Saturation (HSL)75.53%
Lightness36.86%
Dominant channelRed
Hex per channelR A5 · G 17 · B 87
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