Recognised as Colour
#5A1940
- #5A1940
- Magenta
- Dark
- Nearest: Dark slateblue
#5A1940 is a magenta with RGB values 90, 25, 64 and HSL 324°, 57%, 23%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5A1940#5A1940
HEX#5A1940
RGBrgb(90, 25, 64)
RGB (0–1)0.3529, 0.098, 0.251
RGB percentages35.3%, 9.8%, 25.1%
HSLhsl(324, 56.5%, 22.5%)
HSV / HSBhsv(324, 72.2%, 35.3%)
CMYK0%, 72.2%, 28.9%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,904,704
CSS custom property--colour: #5A1940;
Brightness & contrast
Relative luminance0.03239WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.74:1
Contrast with white12.74:1WCAG normal text: AAA
Contrast with black1.65:1WCAG normal text: Fail
Greyscale equivalent#2A2A2A
Inverted#A5E6BF
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.74:1WCAG large text: AAA
Contrast with black, large text1.65:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#195A33
Analogous#54195A, #5A191F
Triadic#405A19, #19405A
Split complementary#205A19, #195A54
Tetradic#5A5419, #195A33, #19205A
Tints, shades & saturation
Channel breakdown
R90
G25
B64
Red90 (35.3%)
Green25 (9.8%)
Blue64 (25.1%)
Hue324°
Saturation (HSL)56.52%
Lightness22.55%
Dominant channelRed
Hex per channelR 5A · G 19 · 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