Nerdulator> put something in

Recognised as Colour

#400A42

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

#400A42 is a magenta with RGB values 64, 10, 66 and HSL 298°, 74%, 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

#400A42#400A42
HEX#400A42
RGBrgb(64, 10, 66)
RGB (0–1)0.251, 0.0392, 0.2588
RGB percentages25.1%, 3.9%, 25.9%
HSLhsl(297.9, 73.7%, 14.9%)
HSV / HSBhsv(297.9, 84.8%, 25.9%)
CMYK3%, 84.8%, 0%, 74.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,196,930
CSS custom property--colour: #400A42;

Brightness & contrast

Relative luminance0.017WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.67:1
Contrast with white15.67:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#BFF5BD

Colour vision & accessibility

Protanopia#001F44no red cones; affects about 1% of men; ΔE 27.6 from the original
Deuteranopia#182641no green cones; the most common form, about 1% of men; ΔE 29.4 from the original
Tritanopia#421425no blue cones; rare, and affects men and women equally; ΔE 23.4 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.67:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#0C420A
Analogous#240A42, #420A28
Triadic#42400A, #0A4240
Split complementary#28420A, #0A4224
Tetradic#42240A, #0C420A, #0A2842

Tints, shades & saturation

Lighter +40%#DB37E1
Lighter +30%#C11EC7
Lighter +20%#96179B
Lighter +10%#6B116E
Darker −10%#150316
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#49004C
Less saturated −25%#371439

Channel breakdown

R64
G10
B66
Red64 (25.1%)
Green10 (3.9%)
Blue66 (25.9%)
Hue297.86°
Saturation (HSL)73.68%
Lightness14.9%
Dominant channelBlue
Hex per channelR 40 · G 0A · B 42

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 “400a42” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.