Recognised as Colour
#D840DA
- #D840DA
- Magenta
- Dark
- Nearest: Medium orchid
#D840DA is a magenta with RGB values 216, 64, 218 and HSL 299°, 68%, 55%. It is a dark colour, so black text on it reaches 5.7:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#D840DA#D840DA
HEX#D840DA
RGBrgb(216, 64, 218)
RGB (0–1)0.8471, 0.251, 0.8549
RGB percentages84.7%, 25.1%, 85.5%
HSLhsl(299.2, 67.5%, 55.3%)
HSV / HSBhsv(299.2, 70.6%, 85.5%)
CMYK0.9%, 70.6%, 0%, 14.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,172,378
CSS custom property--colour: #D840DA;
Brightness & contrast
Relative luminance0.23328WCAG 2.x, 0 is black and 1 is white
Perceived brightness147.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.67:1
Contrast with white3.71:1WCAG normal text: Fail
Contrast with black5.67:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#27BF25
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.71:1WCAG large text: AA
Contrast with black, large text5.67:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42DA40
Analogous#8B40DA, #DA408F
Triadic#DAD840, #40DAD8
Split complementary#8FDA40, #40DA8B
Tetradic#DA8B40, #42DA40, #408FDA
Tints, shades & saturation
Channel breakdown
R216
G64
B218
Red216 (84.7%)
Green64 (25.1%)
Blue218 (85.5%)
Hue299.22°
Saturation (HSL)67.54%
Lightness55.29%
Dominant channelBlue
Hex per channelR D8 · G 40 · B DA
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