Recognised as Colour
#400F2A
- #400F2A
- Magenta
- Dark
- Nearest: Black
#400F2A is a magenta with RGB values 64, 15, 42 and HSL 327°, 62%, 15%. It is a dark colour, so white text on it reaches 15.9:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#400F2A#400F2A
HEX#400F2A
RGBrgb(64, 15, 42)
RGB (0–1)0.251, 0.0588, 0.1647
RGB percentages25.1%, 5.9%, 16.5%
HSLhsl(326.9, 62%, 15.5%)
HSV / HSBhsv(326.9, 76.6%, 25.1%)
CMYK0%, 76.6%, 34.4%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,198,186
CSS custom property--colour: #400F2A;
Brightness & contrast
Relative luminance0.01599WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.91:1
Contrast with white15.91:1WCAG normal text: AAA
Contrast with black1.32:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#BFF0D5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.91:1WCAG large text: AAA
Contrast with black, large text1.32:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#0F4025
Analogous#3E0F40, #400F11
Triadic#2A400F, #0F2A40
Split complementary#11400F, #0F403E
Tetradic#403E0F, #0F4025, #0F1140
Tints, shades & saturation
Channel breakdown
R64
G15
B42
Red64 (25.1%)
Green15 (5.9%)
Blue42 (16.5%)
Hue326.94°
Saturation (HSL)62.03%
Lightness15.49%
Dominant channelRed
Hex per channelR 40 · G 0F · B 2A
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