Recognised as Colour
#DF42B1
- #DF42B1
- Magenta
- Dark
- Nearest: Medium violet red
#DF42B1 is a magenta with RGB values 223, 66, 177 and HSL 318°, 71%, 57%. It is a dark colour, so black text on it reaches 5.6:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DF42B1#DF42B1
HEX#DF42B1
RGBrgb(223, 66, 177)
RGB (0–1)0.8745, 0.2588, 0.6941
RGB percentages87.5%, 25.9%, 69.4%
HSLhsl(317.6, 71%, 56.7%)
HSV / HSBhsv(317.6, 70.4%, 87.5%)
CMYK0%, 70.4%, 20.6%, 12.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,631,601
CSS custom property--colour: #DF42B1;
Brightness & contrast
Relative luminance0.22759WCAG 2.x, 0 is black and 1 is white
Perceived brightness144.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.55:1
Contrast with white3.78:1WCAG normal text: Fail
Contrast with black5.55:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#20BD4E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.78:1WCAG large text: AA
Contrast with black, large text5.55:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42DF70
Analogous#BE42DF, #DF4263
Triadic#B1DF42, #42B1DF
Split complementary#62DF42, #42DFBE
Tetradic#DFBF42, #42DF70, #4263DF
Tints, shades & saturation
Channel breakdown
R223
G66
B177
Red223 (87.5%)
Green66 (25.9%)
Blue177 (69.4%)
Hue317.58°
Saturation (HSL)71.04%
Lightness56.67%
Dominant channelRed
Hex per channelR DF · G 42 · B B1
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