Recognised as Colour
#D340DC
- #D340DC
- Magenta
- Dark
- Nearest: Medium orchid
#D340DC is a magenta with RGB values 211, 64, 220 and HSL 297°, 69%, 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 orchid.
Colour values
#D340DC#D340DC
HEX#D340DC
RGBrgb(211, 64, 220)
RGB (0–1)0.8275, 0.251, 0.8627
RGB percentages82.7%, 25.1%, 86.3%
HSLhsl(296.5, 69%, 55.7%)
HSV / HSBhsv(296.5, 70.9%, 86.3%)
CMYK4.1%, 70.9%, 0%, 13.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,844,700
CSS custom property--colour: #D340DC;
Brightness & contrast
Relative luminance0.22683WCAG 2.x, 0 is black and 1 is white
Perceived brightness145.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.54:1
Contrast with white3.79:1WCAG normal text: Fail
Contrast with black5.54:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#2CBF23
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.79:1WCAG large text: AA
Contrast with black, large text5.54:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#49DC40
Analogous#8540DC, #DC4097
Triadic#DCD340, #40DCD3
Split complementary#97DC40, #40DC85
Tetradic#DC8540, #49DC40, #4097DC
Tints, shades & saturation
Channel breakdown
R211
G64
B220
Red211 (82.7%)
Green64 (25.1%)
Blue220 (86.3%)
Hue296.54°
Saturation (HSL)69.03%
Lightness55.69%
Dominant channelBlue
Hex per channelR D3 · G 40 · B DC
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