Nerdulator> put something in

Recognised as Colour

#400A40

  • #400A40
  • Magenta
  • Dark
  • Nearest: Dark slateblue

#400A40 is a magenta with RGB values 64, 10, 64 and HSL 300°, 73%, 15%. It is a dark colour, so white text on it reaches 15.7:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#400A40#400A40
HEX#400A40
RGBrgb(64, 10, 64)
RGB (0–1)0.251, 0.0392, 0.251
RGB percentages25.1%, 3.9%, 25.1%
HSLhsl(300, 73%, 14.5%)
HSV / HSBhsv(300, 84.4%, 25.1%)
CMYK0%, 84.4%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,196,928
CSS custom property--colour: #400A40;

Brightness & contrast

Relative luminance0.01677WCAG 2.x, 0 is black and 1 is white
Perceived brightness41.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.73:1
Contrast with white15.73:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#191919
Inverted#BFF5BF

Colour vision & accessibility

Protanopia#021F41no red cones; affects about 1% of men; ΔE 28.2 from the original
Deuteranopia#19253Fno green cones; the most common form, about 1% of men; ΔE 28.8 from the original
Tritanopia#421324no blue cones; rare, and affects men and women equally; ΔE 22.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.73:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 28.35, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#0A400A
Analogous#250A40, #400A25
Triadic#40400A, #0A4040
Split complementary#25400A, #0A4025
Tetradic#40250A, #0A400A, #0A2540

Tints, shades & saturation

Lighter +40%#E036E0
Lighter +30%#C41FC4
Lighter +20%#981898
Lighter +10%#6C116C
Darker −10%#140314
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#490149
Less saturated −25%#371337

Channel breakdown

R64
G10
B64
Red64 (25.1%)
Green10 (3.9%)
Blue64 (25.1%)
Hue300°
Saturation (HSL)72.97%
Lightness14.51%
Dominant channelRed and Blue
Hex per channelR 40 · G 0A · B 40

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “400a40” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.