Recognised as Colour
#540C48
- #540C48
- Magenta
- Dark
- Nearest: Dark slateblue
#540C48 is a magenta with RGB values 84, 12, 72 and HSL 310°, 75%, 19%. It is a dark colour, so white text on it reaches 13.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#540C48#540C48
HEX#540C48
RGBrgb(84, 12, 72)
RGB (0–1)0.3294, 0.0471, 0.2824
RGB percentages32.9%, 4.7%, 28.2%
HSLhsl(310, 75%, 18.8%)
HSV / HSBhsv(310, 85.7%, 32.9%)
CMYK0%, 85.7%, 14.3%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,168
CSS custom property--colour: #540C48;
Brightness & contrast
Relative luminance0.02616WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.79:1
Contrast with white13.79:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#ABF3B7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.79:1WCAG large text: AAA
Contrast with black, large text1.52:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0C5418
Analogous#3C0C54, #540C24
Triadic#48540C, #0C4854
Split complementary#24540C, #0C543C
Tetradic#543C0C, #0C5418, #0C2454
Tints, shades & saturation
Channel breakdown
R84
G12
B72
Red84 (32.9%)
Green12 (4.7%)
Blue72 (28.2%)
Hue310°
Saturation (HSL)75%
Lightness18.82%
Dominant channelRed
Hex per channelR 54 · G 0C · B 48
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