Recognised as Colour
#512D51
- #512D51
- Magenta
- Dark
- Nearest: Dark slateblue
#512D51 is a magenta with RGB values 81, 45, 81 and HSL 300°, 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
#512D51#512D51
HEX#512D51
RGBrgb(81, 45, 81)
RGB (0–1)0.3176, 0.1765, 0.3176
RGB percentages31.8%, 17.6%, 31.8%
HSLhsl(300, 28.6%, 24.7%)
HSV / HSBhsv(300, 44.4%, 31.8%)
CMYK0%, 44.4%, 0%, 68.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer5,320,017
CSS custom property--colour: #512D51;
Brightness & contrast
Relative luminance0.0422WCAG 2.x, 0 is black and 1 is white
Perceived brightness62.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.39:1
Contrast with white11.39:1WCAG normal text: AAA
Contrast with black1.84:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#AED2AE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.39: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#2D512D
Analogous#3F2D51, #512D3F
Triadic#51512D, #2D5151
Split complementary#3F512D, #2D513F
Tetradic#513F2D, #2D512D, #2D3F51
Tints, shades & saturation
Channel breakdown
R81
G45
B81
Red81 (31.8%)
Green45 (17.6%)
Blue81 (31.8%)
Hue300°
Saturation (HSL)28.57%
Lightness24.71%
Dominant channelRed and Blue
Hex per channelR 51 · G 2D · B 51
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