Recognised as Colour
#502B40
- #502B40
- Magenta
- Dark
- Nearest: Dim grey
#502B40 is a magenta with RGB values 80, 43, 64 and HSL 326°, 30%, 24%. It is a dark colour, so white text on it reaches 11.9:1 contrast (AAA for normal text). The nearest named colour is Dim grey.
Colour values
#502B40#502B40
HEX#502B40
RGBrgb(80, 43, 64)
RGB (0–1)0.3137, 0.1686, 0.251
RGB percentages31.4%, 16.9%, 25.1%
HSLhsl(325.9, 30.1%, 24.1%)
HSV / HSBhsv(325.9, 46.3%, 31.4%)
CMYK0%, 46.2%, 20%, 68.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,253,952
CSS custom property--colour: #502B40;
Brightness & contrast
Relative luminance0.03803WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.93:1
Contrast with white11.93:1WCAG normal text: AAA
Contrast with black1.76:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#AFD4BF
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.93:1WCAG large text: AAA
Contrast with black, large text1.76:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2B503B
Analogous#4E2B50, #502B2E
Triadic#40502B, #2B4050
Split complementary#2E502B, #2B504E
Tetradic#504E2B, #2B503B, #2B2E50
Tints, shades & saturation
Channel breakdown
R80
G43
B64
Red80 (31.4%)
Green43 (16.9%)
Blue64 (25.1%)
Hue325.95°
Saturation (HSL)30.08%
Lightness24.12%
Dominant channelRed
Hex per channelR 50 · G 2B · B 40
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page