Recognised as Colour
#540F41
- #540F41
- Magenta
- Dark
- Nearest: Dark slateblue
#540F41 is a magenta with RGB values 84, 15, 65 and HSL 317°, 70%, 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
#540F41#540F41
HEX#540F41
RGBrgb(84, 15, 65)
RGB (0–1)0.3294, 0.0588, 0.2549
RGB percentages32.9%, 5.9%, 25.5%
HSLhsl(316.5, 69.7%, 19.4%)
HSV / HSBhsv(316.5, 82.1%, 32.9%)
CMYK0%, 82.1%, 22.6%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,508,929
CSS custom property--colour: #540F41;
Brightness & contrast
Relative luminance0.02608WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.8:1
Contrast with white13.8:1WCAG normal text: AAA
Contrast with black1.52:1WCAG normal text: Fail
Greyscale equivalent#212121
Inverted#ABF0BE
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.8: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#0F5422
Analogous#440F54, #540F1F
Triadic#41540F, #0F4154
Split complementary#1E540F, #0F5444
Tetradic#54450F, #0F5422, #0F1F54
Tints, shades & saturation
Channel breakdown
R84
G15
B65
Red84 (32.9%)
Green15 (5.9%)
Blue65 (25.5%)
Hue316.52°
Saturation (HSL)69.7%
Lightness19.41%
Dominant channelRed
Hex per channelR 54 · G 0F · B 41
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