Recognised as Colour
#5A1440
- #5A1440
- Magenta
- Dark
- Nearest: Dark slateblue
#5A1440 is a magenta with RGB values 90, 20, 64 and HSL 322°, 64%, 22%. It is a dark colour, so white text on it reaches 13.1:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5A1440#5A1440
HEX#5A1440
RGBrgb(90, 20, 64)
RGB (0–1)0.3529, 0.0784, 0.251
RGB percentages35.3%, 7.8%, 25.1%
HSLhsl(322.3, 63.6%, 21.6%)
HSV / HSBhsv(322.3, 77.8%, 35.3%)
CMYK0%, 77.8%, 28.9%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,903,424
CSS custom property--colour: #5A1440;
Brightness & contrast
Relative luminance0.03044WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.05:1
Contrast with white13.05:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#A5EBBF
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.05:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#145A2E
Analogous#51145A, #5A141D
Triadic#405A14, #14405A
Split complementary#1D5A14, #145A51
Tetradic#5A5114, #145A2E, #141D5A
Tints, shades & saturation
Channel breakdown
R90
G20
B64
Red90 (35.3%)
Green20 (7.8%)
Blue64 (25.1%)
Hue322.29°
Saturation (HSL)63.64%
Lightness21.57%
Dominant channelRed
Hex per channelR 5A · G 14 · B 40
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