Recognised as Colour
#A52166
- #A52166
- Magenta
- Dark
- Nearest: Medium violet red
#A52166 is a magenta with RGB values 165, 33, 102 and HSL 329°, 67%, 39%. It is a dark colour, so white text on it reaches 7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#A52166#A52166
HEX#A52166
RGBrgb(165, 33, 102)
RGB (0–1)0.6471, 0.1294, 0.4
RGB percentages64.7%, 12.9%, 40%
HSLhsl(328.6, 66.7%, 38.8%)
HSV / HSBhsv(328.6, 80%, 64.7%)
CMYK0%, 80%, 38.2%, 35.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer10,821,990
CSS custom property--colour: #A52166;
Brightness & contrast
Relative luminance0.10046WCAG 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 6.98:1
Contrast with white6.98:1WCAG normal text: AA
Contrast with black3.01:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#5ADE99
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.98:1WCAG large text: AAA
Contrast with black, large text3.01:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#21A560
Analogous#A221A5, #A52124
Triadic#66A521, #2166A5
Split complementary#24A521, #21A5A2
Tetradic#A5A221, #21A560, #2124A5
Tints, shades & saturation
Channel breakdown
R165
G33
B102
Red165 (64.7%)
Green33 (12.9%)
Blue102 (40%)
Hue328.64°
Saturation (HSL)66.67%
Lightness38.82%
Dominant channelRed
Hex per channelR A5 · G 21 · B 66
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