Nerdulator> put something in

Recognised as Colour

#402A44

  • #402A44
  • Magenta
  • Dark
  • Nearest: Black

#402A44 is a magenta with RGB values 64, 42, 68 and HSL 291°, 24%, 22%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#402A44#402A44
HEX#402A44
RGBrgb(64, 42, 68)
RGB (0–1)0.251, 0.1647, 0.2667
RGB percentages25.1%, 16.5%, 26.7%
HSLhsl(290.8, 23.6%, 21.6%)
HSV / HSBhsv(290.8, 38.2%, 26.7%)
CMYK5.9%, 38.2%, 0%, 73.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,124
CSS custom property--colour: #402A44;

Brightness & contrast

Relative luminance0.03163WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.86:1
Contrast with white12.86:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#BFD5BB

Colour vision & accessibility

Protanopia#273045no red cones; affects about 1% of men; ΔE 13.2 from the original
Deuteranopia#2C3343no green cones; the most common form, about 1% of men; ΔE 14.1 from the original
Tritanopia#412D34no blue cones; rare, and affects men and women equally; ΔE 12.5 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.86:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 28.67, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#2E442A
Analogous#332A44, #442A3B
Triadic#44402A, #2A4440
Split complementary#3B442A, #2A4433
Tetradic#44332A, #2E442A, #2A3B44

Tints, shades & saturation

Lighter +40%#AD86B4
Lighter +30%#9866A1
Lighter +20%#7B5183
Lighter +10%#5E3D64
Darker −10%#221724
Darker −20%#050305
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4A1C52
Less saturated −25%#373737

Channel breakdown

R64
G42
B68
Red64 (25.1%)
Green42 (16.5%)
Blue68 (26.7%)
Hue290.77°
Saturation (HSL)23.64%
Lightness21.57%
Dominant channelBlue
Hex per channelR 40 · G 2A · B 44

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 “402a44” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.