Recognised as Colour
#DF40B3
- #DF40B3
- Magenta
- Dark
- Nearest: Medium violet red
#DF40B3 is a magenta with RGB values 223, 64, 179 and HSL 317°, 71%, 56%. It is a dark colour, so black text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DF40B3#DF40B3
HEX#DF40B3
RGBrgb(223, 64, 179)
RGB (0–1)0.8745, 0.251, 0.702
RGB percentages87.5%, 25.1%, 70.2%
HSLhsl(316.6, 71.3%, 56.3%)
HSV / HSBhsv(316.6, 71.3%, 87.5%)
CMYK0%, 71.3%, 19.7%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,631,091
CSS custom property--colour: #DF40B3;
Brightness & contrast
Relative luminance0.22609WCAG 2.x, 0 is black and 1 is white
Perceived brightness144.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.52:1
Contrast with white3.8:1WCAG normal text: Fail
Contrast with black5.52:1WCAG normal text: AA
Greyscale equivalent#6A6A6A
Inverted#20BF4C
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.8:1WCAG large text: AA
Contrast with black, large text5.52:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40DF6C
Analogous#BB40DF, #DF4064
Triadic#B3DF40, #40B3DF
Split complementary#64DF40, #40DFBB
Tetradic#DFBB40, #40DF6C, #4064DF
Tints, shades & saturation
Channel breakdown
R223
G64
B179
Red223 (87.5%)
Green64 (25.1%)
Blue179 (70.2%)
Hue316.6°
Saturation (HSL)71.3%
Lightness56.27%
Dominant channelRed
Hex per channelR DF · G 40 · B B3
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