Nerdulator> put something in

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

Protanopia#3966AEno red cones; affects about 1% of men; ΔE 52.2 from the original
Deuteranopia#6277A8no green cones; the most common form, about 1% of men; ΔE 54.8 from the original
Tritanopia#BC4C70no blue cones; rare, and affects men and women equally; ΔE 38.3 from the original
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

Nearest named CSS colourMedium orchid (#BA55D3)ΔE 14.8, a distinctly different colour
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

Lighter +40%#EFD2ED
Lighter +30%#E2ACDD
Lighter +20%#D487CE
Lighter +10%#C761BE
Darker −10%#8F3387
Darker −20%#6A2564
Darker −30%#441840
Darker −40%#1E0B1D
More saturated +25%#D421C4
Less saturated −25%#965F92

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “b540ab” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.