Recognised as Colour
#A5047E
- #A5047E
- Magenta
- Dark
- Nearest: Medium violet red
#A5047E is a magenta with RGB values 165, 4, 126 and HSL 315°, 95%, 33%. It is a dark colour, so white text on it reaches 7.2:1 contrast (AAA for normal text). The nearest named colour is Medium violet red.
Colour values
#A5047E#A5047E
HEX#A5047E
RGBrgb(165, 4, 126)
RGB (0–1)0.6471, 0.0157, 0.4941
RGB percentages64.7%, 1.6%, 49.4%
HSLhsl(314.5, 95.3%, 33.1%)
HSV / HSBhsv(314.5, 97.6%, 64.7%)
CMYK0%, 97.6%, 23.6%, 35.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,814,590
CSS custom property--colour: #A5047E;
Brightness & contrast
Relative luminance0.09593WCAG 2.x, 0 is black and 1 is white
Perceived brightness99.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.2:1
Contrast with white7.2:1WCAG normal text: AAA
Contrast with black2.92:1WCAG normal text: Fail
Greyscale equivalent#2F2F2F
Inverted#5AFB81
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.2:1WCAG large text: AAA
Contrast with black, large text2.92:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04A52B
Analogous#7B04A5, #A5042E
Triadic#7EA504, #047EA5
Split complementary#2DA504, #04A57C
Tetradic#A57C04, #04A52B, #042DA5
Tints, shades & saturation
Channel breakdown
R165
G4
B126
Red165 (64.7%)
Green4 (1.6%)
Blue126 (49.4%)
Hue314.53°
Saturation (HSL)95.27%
Lightness33.14%
Dominant channelRed
Hex per channelR A5 · G 04 · B 7E
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