Recognised as Colour
#502D52
- #502D52
- Magenta
- Dark
- Nearest: Dark slateblue
#502D52 is a magenta with RGB values 80, 45, 82 and HSL 297°, 29%, 25%. It is a dark colour, so white text on it reaches 11.4:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#502D52#502D52
HEX#502D52
RGBrgb(80, 45, 82)
RGB (0–1)0.3137, 0.1765, 0.3216
RGB percentages31.4%, 17.6%, 32.2%
HSLhsl(296.8, 29.1%, 24.9%)
HSV / HSBhsv(296.8, 45.1%, 32.2%)
CMYK2.4%, 45.1%, 0%, 67.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,254,482
CSS custom property--colour: #502D52;
Brightness & contrast
Relative luminance0.04191WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.42:1
Contrast with white11.42:1WCAG normal text: AAA
Contrast with black1.84:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#AFD2AD
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.42:1WCAG large text: AAA
Contrast with black, large text1.84:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2F522D
Analogous#3D2D52, #522D42
Triadic#52502D, #2D5250
Split complementary#42522D, #2D523D
Tetradic#523D2D, #2F522D, #2D4252
Tints, shades & saturation
Channel breakdown
R80
G45
B82
Red80 (31.4%)
Green45 (17.6%)
Blue82 (32.2%)
Hue296.76°
Saturation (HSL)29.13%
Lightness24.9%
Dominant channelBlue
Hex per channelR 50 · G 2D · B 52
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