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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page