Nerdulator> put something in

Recognised as Colour

#540B5A

  • #540B5A
  • Magenta
  • Dark
  • Nearest: Purple

#540B5A is a magenta with RGB values 84, 11, 90 and HSL 295°, 78%, 20%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Purple.

Colour values

#540B5A#540B5A
HEX#540B5A
RGBrgb(84, 11, 90)
RGB (0–1)0.3294, 0.0431, 0.3529
RGB percentages32.9%, 4.3%, 35.3%
HSLhsl(295.4, 78.2%, 19.8%)
HSV / HSBhsv(295.4, 87.8%, 35.3%)
CMYK6.7%, 87.8%, 0%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,507,930
CSS custom property--colour: #540B5A;

Brightness & contrast

Relative luminance0.02862WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.35:1
Contrast with white13.35:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#ABF4A5

Colour vision & accessibility

Protanopia#002A5Cno red cones; affects about 1% of men; ΔE 33.4 from the original
Deuteranopia#1D3258no green cones; the most common form, about 1% of men; ΔE 36.7 from the original
Tritanopia#561B34no blue cones; rare, and affects men and women equally; ΔE 29.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.35:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail

Named colours

Nearest named CSS colourPurple (#800080)ΔE 21.36, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#115A0B
Analogous#2C0B5A, #5A0B39
Triadic#5A540B, #0B5A54
Split complementary#395A0B, #0B5A2D
Tetradic#5A2C0B, #115A0B, #0B395A

Tints, shades & saturation

Lighter +40%#DC48E9
Lighter +30%#D31CE2
Lighter +20%#A916B5
Lighter +10%#7E1187
Darker −10%#2A052D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#5D0065
Less saturated −25%#49184D

Channel breakdown

R84
G11
B90
Red84 (32.9%)
Green11 (4.3%)
Blue90 (35.3%)
Hue295.44°
Saturation (HSL)78.22%
Lightness19.8%
Dominant channelBlue
Hex per channelR 54 · G 0B · B 5A

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 “540b5a” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.