Recognised as Colour
#A40478
- #A40478
- Magenta
- Dark
- Nearest: Medium violet red
#A40478 is a magenta with RGB values 164, 4, 120 and HSL 317°, 95%, 33%. It is a dark colour, so white text on it reaches 7.3:1 contrast (AAA for normal text). The nearest named colour is Medium violet red.
Colour values
#A40478#A40478
HEX#A40478
RGBrgb(164, 4, 120)
RGB (0–1)0.6431, 0.0157, 0.4706
RGB percentages64.3%, 1.6%, 47.1%
HSLhsl(316.5, 95.2%, 32.9%)
HSV / HSBhsv(316.5, 97.6%, 64.3%)
CMYK0%, 97.6%, 26.8%, 35.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,749,048
CSS custom property--colour: #A40478;
Brightness & contrast
Relative luminance0.09335WCAG 2.x, 0 is black and 1 is white
Perceived brightness98.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.32:1
Contrast with white7.32:1WCAG normal text: AAA
Contrast with black2.87:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#5BFB87
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.32:1WCAG large text: AAA
Contrast with black, large text2.87:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#04A430
Analogous#8004A4, #A40428
Triadic#78A404, #0478A4
Split complementary#28A404, #04A480
Tetradic#A48004, #04A430, #0428A4
Tints, shades & saturation
Channel breakdown
R164
G4
B120
Red164 (64.3%)
Green4 (1.6%)
Blue120 (47.1%)
Hue316.5°
Saturation (HSL)95.24%
Lightness32.94%
Dominant channelRed
Hex per channelR A4 · G 04 · B 78
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