Recognised as Colour
#B240A6
- #B240A6
- Magenta
- Dark
- Nearest: Dark magenta
#B240A6 is a magenta with RGB values 178, 64, 166 and HSL 306°, 47%, 47%. It is a dark colour, so white text on it reaches 5:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#B240A6#B240A6
HEX#B240A6
RGBrgb(178, 64, 166)
RGB (0–1)0.698, 0.251, 0.651
RGB percentages69.8%, 25.1%, 65.1%
HSLhsl(306.3, 47.1%, 47.5%)
HSV / HSBhsv(306.3, 64%, 69.8%)
CMYK0%, 64%, 6.7%, 30.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,681,958
CSS custom property--colour: #B240A6;
Brightness & contrast
Relative luminance0.15885WCAG 2.x, 0 is black and 1 is white
Perceived brightness122.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.03:1
Contrast with white5.03:1WCAG normal text: AA
Contrast with black4.18:1WCAG normal text: Fail
Greyscale equivalent#606060
Inverted#4DBF59
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.03:1WCAG large text: AAA
Contrast with black, large text4.18:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40B24C
Analogous#8540B2, #B2406D
Triadic#A6B240, #40A6B2
Split complementary#6DB240, #40B285
Tetradic#B28540, #40B24C, #406DB2
Tints, shades & saturation
Channel breakdown
R178
G64
B166
Red178 (69.8%)
Green64 (25.1%)
Blue166 (65.1%)
Hue306.32°
Saturation (HSL)47.11%
Lightness47.45%
Dominant channelRed
Hex per channelR B2 · G 40 · B A6
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