Nerdulator> put something in

Recognised as Colour

#402F40

  • #402F40
  • Magenta
  • Dark
  • Nearest: Dark slate grey

#402F40 is a magenta with RGB values 64, 47, 64 and HSL 300°, 15%, 22%. It is a dark colour, so white text on it reaches 12.4:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.

Colour values

#402F40#402F40
HEX#402F40
RGBrgb(64, 47, 64)
RGB (0–1)0.251, 0.1843, 0.251
RGB percentages25.1%, 18.4%, 25.1%
HSLhsl(300, 15.3%, 21.8%)
HSV / HSBhsv(300, 26.6%, 25.1%)
CMYK0%, 26.6%, 0%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,400
CSS custom property--colour: #402F40;

Brightness & contrast

Relative luminance0.03493WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.36:1
Contrast with white12.36:1WCAG normal text: AAA
Contrast with black1.7:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#BFD0BF

Colour vision & accessibility

Protanopia#2E3341no red cones; affects about 1% of men; ΔE 9.8 from the original
Deuteranopia#32353Fno green cones; the most common form, about 1% of men; ΔE 10.1 from the original
Tritanopia#413035no blue cones; rare, and affects men and women equally; ΔE 7.9 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.36:1WCAG large text: AAA
Contrast with black, large text1.7:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slate grey (#2F4F4F)ΔE 25.14, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#2F402F
Analogous#382F40, #402F38
Triadic#40402F, #2F4040
Split complementary#38402F, #2F4038
Tetradic#40382F, #2F402F, #2F3840

Tints, shades & saturation

Lighter +40%#AC8FAC
Lighter +30%#977197
Lighter +20%#7B5A7B
Lighter +10%#5D455D
Darker −10%#231923
Darker −20%#050405
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4E214E
Less saturated −25%#383838

Channel breakdown

R64
G47
B64
Red64 (25.1%)
Green47 (18.4%)
Blue64 (25.1%)
Hue300°
Saturation (HSL)15.32%
Lightness21.76%
Dominant channelRed and Blue
Hex per channelR 40 · G 2F · 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 “402f40” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.