Recognised as Colour
#40013F
- #40013F
- Magenta
- Dark
- Nearest: Midnight blue
#40013F is a magenta with RGB values 64, 1, 63 and HSL 301°, 97%, 13%. It is a dark colour, so white text on it reaches 16.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#40013F#40013F
HEX#40013F
RGBrgb(64, 1, 63)
RGB (0–1)0.251, 0.0039, 0.2471
RGB percentages25.1%, 0.4%, 24.7%
HSLhsl(301, 96.9%, 12.7%)
HSV / HSBhsv(301, 98.4%, 25.1%)
CMYK0%, 98.4%, 1.6%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,194,623
CSS custom property--colour: #40013F;
Brightness & contrast
Relative luminance0.01471WCAG 2.x, 0 is black and 1 is white
Perceived brightness41 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.23:1
Contrast with white16.23:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#BFFEC0
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.23:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#014002
Analogous#210140, #400120
Triadic#3F4001, #013F40
Split complementary#1F4001, #014022
Tetradic#402201, #014002, #011F40
Tints, shades & saturation
Channel breakdown
R64
G1
B63
Red64 (25.1%)
Green1 (0.4%)
Blue63 (24.7%)
Hue300.95°
Saturation (HSL)96.92%
Lightness12.75%
Dominant channelRed
Hex per channelR 40 · G 01 · B 3F
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