Recognised as Colour
#D338A8
- #D338A8
- Magenta
- Dark
- Nearest: Medium violet red
#D338A8 is a magenta with RGB values 211, 56, 168 and HSL 317°, 64%, 52%. It is a dark colour, so black text on it reaches 4.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D338A8#D338A8
HEX#D338A8
RGBrgb(211, 56, 168)
RGB (0–1)0.8275, 0.2196, 0.6588
RGB percentages82.7%, 22%, 65.9%
HSLhsl(316.6, 63.8%, 52.4%)
HSV / HSBhsv(316.6, 73.5%, 82.7%)
CMYK0%, 73.5%, 20.4%, 17.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,842,600
CSS custom property--colour: #D338A8;
Brightness & contrast
Relative luminance0.19504WCAG 2.x, 0 is black and 1 is white
Perceived brightness135.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.9:1
Contrast with white4.28:1WCAG normal text: Fail
Contrast with black4.9:1WCAG normal text: AA
Greyscale equivalent#616161
Inverted#2CC757
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.28:1WCAG large text: AA
Contrast with black, large text4.9:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#38D363
Analogous#B038D3, #D3385A
Triadic#A8D338, #38A8D3
Split complementary#5BD338, #38D3B0
Tetradic#D3B038, #38D363, #385BD3
Tints, shades & saturation
Channel breakdown
R211
G56
B168
Red211 (82.7%)
Green56 (22%)
Blue168 (65.9%)
Hue316.65°
Saturation (HSL)63.79%
Lightness52.35%
Dominant channelRed
Hex per channelR D3 · G 38 · B A8
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