Recognised as Colour
#540A37
- #540A37
- Magenta
- Dark
- Nearest: Dark slateblue
#540A37 is a magenta with RGB values 84, 10, 55 and HSL 324°, 79%, 18%. It is a dark colour, so white text on it reaches 14.2:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#540A37#540A37
HEX#540A37
RGBrgb(84, 10, 55)
RGB (0–1)0.3294, 0.0392, 0.2157
RGB percentages32.9%, 3.9%, 21.6%
HSLhsl(323.5, 78.7%, 18.4%)
HSV / HSBhsv(323.5, 88.1%, 32.9%)
CMYK0%, 88.1%, 34.5%, 67.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,507,639
CSS custom property--colour: #540A37;
Brightness & contrast
Relative luminance0.02378WCAG 2.x, 0 is black and 1 is white
Perceived brightness50.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.23:1
Contrast with white14.23:1WCAG normal text: AAA
Contrast with black1.48:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#ABF5C8
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.23:1WCAG large text: AAA
Contrast with black, large text1.48:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0A5427
Analogous#4C0A54, #540A12
Triadic#37540A, #0A3754
Split complementary#12540A, #0A544C
Tetradic#544C0A, #0A5427, #0A1254
Tints, shades & saturation
Channel breakdown
R84
G10
B55
Red84 (32.9%)
Green10 (3.9%)
Blue55 (21.6%)
Hue323.51°
Saturation (HSL)78.72%
Lightness18.43%
Dominant channelRed
Hex per channelR 54 · G 0A · B 37
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