Recognised as Colour
#A5046B
- #A5046B
- Magenta
- Dark
- Nearest: Medium violet red
#A5046B is a magenta with RGB values 165, 4, 107 and HSL 322°, 95%, 33%. It is a dark colour, so white text on it reaches 7.4:1 contrast (AAA for normal text). The nearest named colour is Medium violet red.
Colour values
#A5046B#A5046B
HEX#A5046B
RGBrgb(165, 4, 107)
RGB (0–1)0.6471, 0.0157, 0.4196
RGB percentages64.7%, 1.6%, 42%
HSLhsl(321.6, 95.3%, 33.1%)
HSV / HSBhsv(321.6, 97.6%, 64.7%)
CMYK0%, 97.6%, 35.2%, 35.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,814,571
CSS custom property--colour: #A5046B;
Brightness & contrast
Relative luminance0.09148WCAG 2.x, 0 is black and 1 is white
Perceived brightness97.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.42:1
Contrast with white7.42:1WCAG normal text: AAA
Contrast with black2.83:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#5AFB94
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.42:1WCAG large text: AAA
Contrast with black, large text2.83:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04A53E
Analogous#8F04A5, #A5041A
Triadic#6BA504, #046BA5
Split complementary#1BA504, #04A58F
Tetradic#A58E04, #04A53E, #041AA5
Tints, shades & saturation
Channel breakdown
R165
G4
B107
Red165 (64.7%)
Green4 (1.6%)
Blue107 (42%)
Hue321.61°
Saturation (HSL)95.27%
Lightness33.14%
Dominant channelRed
Hex per channelR A5 · G 04 · B 6B
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