Recognised as Colour
#B42AB4
- #B42AB4
- Magenta
- Dark
- Nearest: Medium orchid
#B42AB4 is a magenta with RGB values 180, 42, 180 and HSL 300°, 62%, 44%. It is a dark colour, so white text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#B42AB4#B42AB4
HEX#B42AB4
RGBrgb(180, 42, 180)
RGB (0–1)0.7059, 0.1647, 0.7059
RGB percentages70.6%, 16.5%, 70.6%
HSLhsl(300, 62.2%, 43.5%)
HSV / HSBhsv(300, 76.7%, 70.6%)
CMYK0%, 76.7%, 0%, 29.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,807,412
CSS custom property--colour: #B42AB4;
Brightness & contrast
Relative luminance0.14655WCAG 2.x, 0 is black and 1 is white
Perceived brightness120.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.34:1
Contrast with white5.34:1WCAG normal text: AA
Contrast with black3.93:1WCAG normal text: Fail
Greyscale equivalent#515151
Inverted#4BD54B
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.34:1WCAG large text: AAA
Contrast with black, large text3.93:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2AB42A
Analogous#6F2AB4, #B42A6F
Triadic#B4B42A, #2AB4B4
Split complementary#6FB42A, #2AB46F
Tetradic#B46F2A, #2AB42A, #2A6FB4
Tints, shades & saturation
Channel breakdown
R180
G42
B180
Red180 (70.6%)
Green42 (16.5%)
Blue180 (70.6%)
Hue300°
Saturation (HSL)62.16%
Lightness43.53%
Dominant channelRed and Blue
Hex per channelR B4 · G 2A · B B4
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