Recognised as Colour
#B540AB
- #B540AB
- Magenta
- Dark
- Nearest: Medium orchid
#B540AB is a magenta with RGB values 181, 64, 171 and HSL 305°, 48%, 48%. It is a dark colour, so white text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#B540AB#B540AB
HEX#B540AB
RGBrgb(181, 64, 171)
RGB (0–1)0.7098, 0.251, 0.6706
RGB percentages71%, 25.1%, 67.1%
HSLhsl(305.1, 47.8%, 48%)
HSV / HSBhsv(305.1, 64.6%, 71%)
CMYK0%, 64.6%, 5.5%, 29%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,878,571
CSS custom property--colour: #B540AB;
Brightness & contrast
Relative luminance0.16431WCAG 2.x, 0 is black and 1 is white
Perceived brightness124.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.9:1
Contrast with white4.9:1WCAG normal text: AA
Contrast with black4.29:1WCAG normal text: Fail
Greyscale equivalent#616161
Inverted#4ABF54
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.9:1WCAG large text: AAA
Contrast with black, large text4.29:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40B54A
Analogous#8440B5, #B54071
Triadic#ABB540, #40ABB5
Split complementary#71B540, #40B584
Tetradic#B58540, #40B54A, #4071B5
Tints, shades & saturation
Channel breakdown
R181
G64
B171
Red181 (71%)
Green64 (25.1%)
Blue171 (67.1%)
Hue305.13°
Saturation (HSL)47.76%
Lightness48.04%
Dominant channelRed
Hex per channelR B5 · G 40 · 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