Nerdulator> put something in

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

Protanopia#466AABno red cones; affects about 1% of men; ΔE 63.8 from the original
Deuteranopia#7783A4no green cones; the most common form, about 1% of men; ΔE 66.7 from the original
Tritanopia#E03B6Cno blue cones; rare, and affects men and women equally; ΔE 37.3 from the original
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

Nearest named CSS colourMedium violet red (#C71585)ΔE 12.69, a distinctly different colour
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

Lighter +40%#F8DFF1
Lighter +30%#EFB5DF
Lighter +20%#E58CCD
Lighter +10%#DC62BA
Darker −10%#B1278B
Darker −20%#871E6A
Darker −30%#5D1549
Darker −40%#340B28
More saturated +25%#F11AB6
Less saturated −25%#B5569A

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “d338a8” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.