Recognised as Colour
#D340CC
- #D340CC
- Magenta
- Dark
- Nearest: Medium orchid
#D340CC is a magenta with RGB values 211, 64, 204 and HSL 303°, 63%, 54%. It is a dark colour, so black text on it reaches 5.4:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#D340CC#D340CC
HEX#D340CC
RGBrgb(211, 64, 204)
RGB (0–1)0.8275, 0.251, 0.8
RGB percentages82.7%, 25.1%, 80%
HSLhsl(302.9, 62.6%, 53.9%)
HSV / HSBhsv(302.9, 69.7%, 82.7%)
CMYK0%, 69.7%, 3.3%, 17.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,844,684
CSS custom property--colour: #D340CC;
Brightness & contrast
Relative luminance0.21875WCAG 2.x, 0 is black and 1 is white
Perceived brightness143 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.38:1
Contrast with white3.91:1WCAG normal text: Fail
Contrast with black5.38:1WCAG normal text: AA
Greyscale equivalent#696969
Inverted#2CBF33
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.91:1WCAG large text: AA
Contrast with black, large text5.38:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40D347
Analogous#9140D3, #D34082
Triadic#CCD340, #40CCD3
Split complementary#83D340, #40D391
Tetradic#D39040, #40D347, #4082D3
Tints, shades & saturation
Channel breakdown
R211
G64
B204
Red211 (82.7%)
Green64 (25.1%)
Blue204 (80%)
Hue302.86°
Saturation (HSL)62.55%
Lightness53.92%
Dominant channelRed
Hex per channelR D3 · G 40 · B CC
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