Recognised as Colour
#5A024D
- #5A024D
- Magenta
- Dark
- Nearest: Purple
#5A024D is a magenta with RGB values 90, 2, 77 and HSL 309°, 96%, 18%. It is a dark colour, so white text on it reaches 13.5:1 contrast (AAA for normal text). The nearest named colour is Purple.
Colour values
#5A024D#5A024D
HEX#5A024D
RGBrgb(90, 2, 77)
RGB (0–1)0.3529, 0.0078, 0.302
RGB percentages35.3%, 0.8%, 30.2%
HSLhsl(308.9, 95.7%, 18%)
HSV / HSBhsv(308.9, 97.8%, 35.3%)
CMYK0%, 97.8%, 14.4%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,898,829
CSS custom property--colour: #5A024D;
Brightness & contrast
Relative luminance0.02753WCAG 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.54:1
Contrast with white13.54:1WCAG normal text: AAA
Contrast with black1.55:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#A5FDB2
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.54:1WCAG large text: AAA
Contrast with black, large text1.55:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#025A0F
Analogous#3B025A, #5A0221
Triadic#4D5A02, #024D5A
Split complementary#215A02, #025A3B
Tetradic#5A3B02, #025A0F, #02215A
Tints, shades & saturation
Channel breakdown
R90
G2
B77
Red90 (35.3%)
Green2 (0.8%)
Blue77 (30.2%)
Hue308.86°
Saturation (HSL)95.65%
Lightness18.04%
Dominant channelRed
Hex per channelR 5A · G 02 · B 4D
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