Recognised as Colour
#AB2FAB
- #AB2FAB
- Magenta
- Dark
- Nearest: Dark magenta
#AB2FAB is a magenta with RGB values 171, 47, 171 and HSL 300°, 57%, 43%. It is a dark colour, so white text on it reaches 5.6:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#AB2FAB#AB2FAB
HEX#AB2FAB
RGBrgb(171, 47, 171)
RGB (0–1)0.6706, 0.1843, 0.6706
RGB percentages67.1%, 18.4%, 67.1%
HSLhsl(300, 56.9%, 42.7%)
HSV / HSBhsv(300, 72.5%, 67.1%)
CMYK0%, 72.5%, 0%, 32.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,218,859
CSS custom property--colour: #AB2FAB;
Brightness & contrast
Relative luminance0.13631WCAG 2.x, 0 is black and 1 is white
Perceived brightness115.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.64:1
Contrast with white5.64:1WCAG normal text: AA
Contrast with black3.73:1WCAG normal text: Fail
Greyscale equivalent#525252
Inverted#54D054
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.64:1WCAG large text: AAA
Contrast with black, large text3.73:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2FAB2F
Analogous#6D2FAB, #AB2F6D
Triadic#ABAB2F, #2FABAB
Split complementary#6DAB2F, #2FAB6D
Tetradic#AB6D2F, #2FAB2F, #2F6DAB
Tints, shades & saturation
Channel breakdown
R171
G47
B171
Red171 (67.1%)
Green47 (18.4%)
Blue171 (67.1%)
Hue300°
Saturation (HSL)56.88%
Lightness42.75%
Dominant channelRed and Blue
Hex per channelR AB · G 2F · B AB
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