Recognised as Colour
#540D4D
- #540D4D
- Magenta
- Dark
- Nearest: Dark slateblue
#540D4D is a magenta with RGB values 84, 13, 77 and HSL 306°, 73%, 19%. It is a dark colour, so white text on it reaches 13.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#540D4D#540D4D
HEX#540D4D
RGBrgb(84, 13, 77)
RGB (0–1)0.3294, 0.051, 0.302
RGB percentages32.9%, 5.1%, 30.2%
HSLhsl(305.9, 73.2%, 19%)
HSV / HSBhsv(305.9, 84.5%, 32.9%)
CMYK0%, 84.5%, 8.3%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,429
CSS custom property--colour: #540D4D;
Brightness & contrast
Relative luminance0.02708WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.62:1
Contrast with white13.62:1WCAG normal text: AAA
Contrast with black1.54:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#ABF2B2
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.62:1WCAG large text: AAA
Contrast with black, large text1.54:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0D5414
Analogous#370D54, #540D2A
Triadic#4D540D, #0D4D54
Split complementary#29540D, #0D5437
Tetradic#54380D, #0D5414, #0D2A54
Tints, shades & saturation
Channel breakdown
R84
G13
B77
Red84 (32.9%)
Green13 (5.1%)
Blue77 (30.2%)
Hue305.92°
Saturation (HSL)73.2%
Lightness19.02%
Dominant channelRed
Hex per channelR 54 · G 0D · B 4D
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