Recognised as Colour
#5A174C
- #5A174C
- Magenta
- Dark
- Nearest: Dark slateblue
#5A174C is a magenta with RGB values 90, 23, 76 and HSL 313°, 59%, 22%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#5A174C#5A174C
HEX#5A174C
RGBrgb(90, 23, 76)
RGB (0–1)0.3529, 0.0902, 0.298
RGB percentages35.3%, 9%, 29.8%
HSLhsl(312.5, 59.3%, 22.2%)
HSV / HSBhsv(312.5, 74.4%, 35.3%)
CMYK0%, 74.4%, 15.6%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,904,204
CSS custom property--colour: #5A174C;
Brightness & contrast
Relative luminance0.03308WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.64:1
Contrast with white12.64:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#A5E8B3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.64:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#175A25
Analogous#47175A, #5A172A
Triadic#4C5A17, #174C5A
Split complementary#2A5A17, #175A47
Tetradic#5A4717, #175A25, #172A5A
Tints, shades & saturation
Channel breakdown
R90
G23
B76
Red90 (35.3%)
Green23 (9%)
Blue76 (29.8%)
Hue312.54°
Saturation (HSL)59.29%
Lightness22.16%
Dominant channelRed
Hex per channelR 5A · G 17 · B 4C
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