Recognised as Colour
#40163C
- #40163C
- Magenta
- Dark
- Nearest: Dark slateblue
#40163C is a magenta with RGB values 64, 22, 60 and HSL 306°, 49%, 17%. It is a dark colour, so white text on it reaches 15:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40163C#40163C
HEX#40163C
RGBrgb(64, 22, 60)
RGB (0–1)0.251, 0.0863, 0.2353
RGB percentages25.1%, 8.6%, 23.5%
HSLhsl(305.7, 48.8%, 16.9%)
HSV / HSBhsv(305.7, 65.6%, 25.1%)
CMYK0%, 65.6%, 6.2%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,199,996
CSS custom property--colour: #40163C;
Brightness & contrast
Relative luminance0.0199WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.02:1
Contrast with white15.02:1WCAG normal text: AAA
Contrast with black1.4:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#BFE9C3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.02:1WCAG large text: AAA
Contrast with black, large text1.4:1WCAG large text: Fail
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#16401A
Analogous#2F1640, #401627
Triadic#3C4016, #163C40
Split complementary#274016, #16402F
Tetradic#402F16, #16401A, #162740
Tints, shades & saturation
Channel breakdown
R64
G22
B60
Red64 (25.1%)
Green22 (8.6%)
Blue60 (23.5%)
Hue305.71°
Saturation (HSL)48.84%
Lightness16.86%
Dominant channelRed
Hex per channelR 40 · G 16 · B 3C
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