Recognised as Colour
#540F51
- #540F51
- Magenta
- Dark
- Nearest: Dark slateblue
#540F51 is a magenta with RGB values 84, 15, 81 and HSL 303°, 70%, 19%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#540F51#540F51
HEX#540F51
RGBrgb(84, 15, 81)
RGB (0–1)0.3294, 0.0588, 0.3176
RGB percentages32.9%, 5.9%, 31.8%
HSLhsl(302.6, 69.7%, 19.4%)
HSV / HSBhsv(302.6, 82.1%, 32.9%)
CMYK0%, 82.1%, 3.6%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,945
CSS custom property--colour: #540F51;
Brightness & contrast
Relative luminance0.02821WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.43:1
Contrast with white13.43:1WCAG normal text: AAA
Contrast with black1.56:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#ABF0AE
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.43:1WCAG large text: AAA
Contrast with black, large text1.56:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0F5412
Analogous#350F54, #540F2E
Triadic#51540F, #0F5154
Split complementary#2E540F, #0F5435
Tetradic#54350F, #0F5412, #0F2E54
Tints, shades & saturation
Channel breakdown
R84
G15
B81
Red84 (32.9%)
Green15 (5.9%)
Blue81 (31.8%)
Hue302.61°
Saturation (HSL)69.7%
Lightness19.41%
Dominant channelRed
Hex per channelR 54 · G 0F · B 51
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