Recognised as Colour
#9802A2
- #9802A2
- Magenta
- Dark
- Nearest: Dark magenta
#9802A2 is a magenta with RGB values 152, 2, 162 and HSL 296°, 98%, 32%. It is a dark colour, so white text on it reaches 7.3:1 contrast (AAA for normal text). The nearest named colour is Dark magenta.
Colour values
#9802A2#9802A2
HEX#9802A2
RGBrgb(152, 2, 162)
RGB (0–1)0.5961, 0.0078, 0.6353
RGB percentages59.6%, 0.8%, 63.5%
HSLhsl(296.3, 97.6%, 32.2%)
HSV / HSBhsv(296.3, 98.8%, 63.5%)
CMYK6.2%, 98.8%, 0%, 36.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer9,962,146
CSS custom property--colour: #9802A2;
Brightness & contrast
Relative luminance0.09327WCAG 2.x, 0 is black and 1 is white
Perceived brightness99.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 7.33:1
Contrast with white7.33:1WCAG normal text: AAA
Contrast with black2.87:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#67FD5D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text7.33: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#0CA202
Analogous#4802A2, #A2025C
Triadic#A29802, #02A298
Split complementary#5CA202, #02A248
Tetradic#A24802, #0CA202, #025CA2
Tints, shades & saturation
Channel breakdown
R152
G2
B162
Red152 (59.6%)
Green2 (0.8%)
Blue162 (63.5%)
Hue296.25°
Saturation (HSL)97.56%
Lightness32.16%
Dominant channelBlue
Hex per channelR 98 · G 02 · B A2
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