Recognised as Colour
#BA31A4
- #BA31A4
- Magenta
- Dark
- Nearest: Dark magenta
#BA31A4 is a magenta with RGB values 186, 49, 164 and HSL 310°, 58%, 46%. It is a dark colour, so white text on it reaches 5.2:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#BA31A4#BA31A4
HEX#BA31A4
RGBrgb(186, 49, 164)
RGB (0–1)0.7294, 0.1922, 0.6431
RGB percentages72.9%, 19.2%, 64.3%
HSLhsl(309.6, 58.3%, 46.1%)
HSV / HSBhsv(309.6, 73.7%, 72.9%)
CMYK0%, 73.7%, 11.8%, 27.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer12,202,404
CSS custom property--colour: #BA31A4;
Brightness & contrast
Relative luminance0.15316WCAG 2.x, 0 is black and 1 is white
Perceived brightness121.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.17:1
Contrast with white5.17:1WCAG normal text: AA
Contrast with black4.06:1WCAG normal text: Fail
Greyscale equivalent#565656
Inverted#45CE5B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.17:1WCAG large text: AAA
Contrast with black, large text4.06:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#31BA47
Analogous#8C31BA, #BA3160
Triadic#A4BA31, #31A4BA
Split complementary#5FBA31, #31BA8C
Tetradic#BA8C31, #31BA47, #315FBA
Tints, shades & saturation
Channel breakdown
R186
G49
B164
Red186 (72.9%)
Green49 (19.2%)
Blue164 (64.3%)
Hue309.64°
Saturation (HSL)58.3%
Lightness46.08%
Dominant channelRed
Hex per channelR BA · G 31 · B A4
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