Recognised as Colour
#540B5A
- #540B5A
- Magenta
- Dark
- Nearest: Purple
#540B5A is a magenta with RGB values 84, 11, 90 and HSL 295°, 78%, 20%. It is a dark colour, so white text on it reaches 13.4:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#540B5A#540B5A
HEX#540B5A
RGBrgb(84, 11, 90)
RGB (0–1)0.3294, 0.0431, 0.3529
RGB percentages32.9%, 4.3%, 35.3%
HSLhsl(295.4, 78.2%, 19.8%)
HSV / HSBhsv(295.4, 87.8%, 35.3%)
CMYK6.7%, 87.8%, 0%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,507,930
CSS custom property--colour: #540B5A;
Brightness & contrast
Relative luminance0.02862WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.35:1
Contrast with white13.35:1WCAG normal text: AAA
Contrast with black1.57:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#ABF4A5
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.35:1WCAG large text: AAA
Contrast with black, large text1.57:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#115A0B
Analogous#2C0B5A, #5A0B39
Triadic#5A540B, #0B5A54
Split complementary#395A0B, #0B5A2D
Tetradic#5A2C0B, #115A0B, #0B395A
Tints, shades & saturation
Channel breakdown
R84
G11
B90
Red84 (32.9%)
Green11 (4.3%)
Blue90 (35.3%)
Hue295.44°
Saturation (HSL)78.22%
Lightness19.8%
Dominant channelBlue
Hex per channelR 54 · G 0B · B 5A
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