Recognised as Colour
#D41797
- #D41797
- Magenta
- Dark
- Nearest: Medium violet red
#D41797 is a magenta with RGB values 212, 23, 151 and HSL 319°, 80%, 46%. It is a dark colour, so white text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D41797#D41797
HEX#D41797
RGBrgb(212, 23, 151)
RGB (0–1)0.8314, 0.0902, 0.5922
RGB percentages83.1%, 9%, 59.2%
HSLhsl(319.4, 80.4%, 46.1%)
HSV / HSBhsv(319.4, 89.2%, 83.1%)
CMYK0%, 89.2%, 28.8%, 16.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,899,671
CSS custom property--colour: #D41797;
Brightness & contrast
Relative luminance0.16844WCAG 2.x, 0 is black and 1 is white
Perceived brightness127.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.81:1
Contrast with white4.81:1WCAG normal text: AA
Contrast with black4.37:1WCAG normal text: Fail
Greyscale equivalent#484848
Inverted#2BE868
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.81:1WCAG large text: AAA
Contrast with black, large text4.37:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#17D454
Analogous#B317D4, #D41738
Triadic#97D417, #1797D4
Split complementary#38D417, #17D4B3
Tetradic#D4B317, #17D454, #1738D4
Tints, shades & saturation
Channel breakdown
R212
G23
B151
Red212 (83.1%)
Green23 (9%)
Blue151 (59.2%)
Hue319.37°
Saturation (HSL)80.43%
Lightness46.08%
Dominant channelRed
Hex per channelR D4 · G 17 · B 97
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