Recognised as Colour
#40203D
- #40203D
- Magenta
- Dark
- Nearest: Black
#40203D is a magenta with RGB values 64, 32, 61 and HSL 306°, 33%, 19%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#40203D#40203D
HEX#40203D
RGBrgb(64, 32, 61)
RGB (0–1)0.251, 0.1255, 0.2392
RGB percentages25.1%, 12.5%, 23.9%
HSLhsl(305.6, 33.3%, 18.8%)
HSV / HSBhsv(305.6, 50%, 25.1%)
CMYK0%, 50%, 4.7%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,557
CSS custom property--colour: #40203D;
Brightness & contrast
Relative luminance0.0246WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.08:1
Contrast with white14.08:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#BFDFC2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.08:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#204023
Analogous#332040, #40202D
Triadic#3D4020, #203D40
Split complementary#2D4020, #204033
Tetradic#403320, #204023, #202D40
Tints, shades & saturation
Channel breakdown
R64
G32
B61
Red64 (25.1%)
Green32 (12.5%)
Blue61 (23.9%)
Hue305.63°
Saturation (HSL)33.33%
Lightness18.82%
Dominant channelRed
Hex per channelR 40 · G 20 · B 3D
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