Recognised as Colour
#400A3F
- #400A3F
- Magenta
- Dark
- Nearest: Dark slateblue
#400A3F is a magenta with RGB values 64, 10, 63 and HSL 301°, 73%, 15%. It is a dark colour, so white text on it reaches 15.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#400A3F#400A3F
HEX#400A3F
RGBrgb(64, 10, 63)
RGB (0–1)0.251, 0.0392, 0.2471
RGB percentages25.1%, 3.9%, 24.7%
HSLhsl(301.1, 73%, 14.5%)
HSV / HSBhsv(301.1, 84.4%, 25.1%)
CMYK0%, 84.4%, 1.6%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,196,927
CSS custom property--colour: #400A3F;
Brightness & contrast
Relative luminance0.01666WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.75:1
Contrast with white15.75:1WCAG normal text: AAA
Contrast with black1.33:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#BFF5C0
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.75:1WCAG large text: AAA
Contrast with black, large text1.33:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0A400B
Analogous#260A40, #400A24
Triadic#3F400A, #0A3F40
Split complementary#24400A, #0A4026
Tetradic#40260A, #0A400B, #0A2440
Tints, shades & saturation
Channel breakdown
R64
G10
B63
Red64 (25.1%)
Green10 (3.9%)
Blue63 (24.7%)
Hue301.11°
Saturation (HSL)72.97%
Lightness14.51%
Dominant channelRed
Hex per channelR 40 · G 0A · 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