Recognised as Colour
#40032E
- #40032E
- Magenta
- Dark
- Nearest: Black
#40032E is a magenta with RGB values 64, 3, 46 and HSL 318°, 91%, 13%. It is a dark colour, so white text on it reaches 16.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#40032E#40032E
HEX#40032E
RGBrgb(64, 3, 46)
RGB (0–1)0.251, 0.0118, 0.1804
RGB percentages25.1%, 1.2%, 18%
HSLhsl(317.7, 91%, 13.1%)
HSV / HSBhsv(317.7, 95.3%, 25.1%)
CMYK0%, 95.3%, 28.1%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,195,118
CSS custom property--colour: #40032E;
Brightness & contrast
Relative luminance0.01352WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.53:1
Contrast with white16.53:1WCAG normal text: AAA
Contrast with black1.27:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#BFFCD1
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.53:1WCAG large text: AAA
Contrast with black, large text1.27:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#034015
Analogous#330340, #400310
Triadic#2E4003, #032E40
Split complementary#104003, #034033
Tetradic#403303, #034015, #031040
Tints, shades & saturation
Channel breakdown
R64
G3
B46
Red64 (25.1%)
Green3 (1.2%)
Blue46 (18%)
Hue317.7°
Saturation (HSL)91.04%
Lightness13.14%
Dominant channelRed
Hex per channelR 40 · G 03 · B 2E
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