Nerdulator> put something in

Recognised as Colour

#40203D

  • #40203D
  • Magenta
  • Dark
  • Nearest: Black

#40203D is a magenta with RGB values 64, 32, 61 and HSL 306°, 33%, 19%. It is a dark colour, so white text on it reaches 14.1:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#40203D#40203D
HEX#40203D
RGBrgb(64, 32, 61)
RGB (0–1)0.251, 0.1255, 0.2392
RGB percentages25.1%, 12.5%, 23.9%
HSLhsl(305.6, 33.3%, 18.8%)
HSV / HSBhsv(305.6, 50%, 25.1%)
CMYK0%, 50%, 4.7%, 74.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,557
CSS custom property--colour: #40203D;

Brightness & contrast

Relative luminance0.0246WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.08:1
Contrast with white14.08:1WCAG normal text: AAA
Contrast with black1.49:1WCAG normal text: Fail
Greyscale equivalent#292929
Inverted#BFDFC2

Colour vision & accessibility

Protanopia#1F293Eno red cones; affects about 1% of men; ΔE 18.3 from the original
Deuteranopia#272D3Cno green cones; the most common form, about 1% of men; ΔE 18.9 from the original
Tritanopia#42222Bno blue cones; rare, and affects men and women equally; ΔE 13.4 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.08:1WCAG large text: AAA
Contrast with black, large text1.49:1WCAG large text: Fail

Named colours

Nearest named CSS colourBlack (#000000)ΔE 29.65, a distinctly different colour
Hue familymagenta
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#204023
Analogous#332040, #40202D
Triadic#3D4020, #203D40
Split complementary#2D4020, #204033
Tetradic#403320, #204023, #202D40

Tints, shades & saturation

Lighter +40%#B973B2
Lighter +30%#A6539E
Lighter +20%#84427E
Lighter +10%#62315D
Darker −10%#1E0F1D
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#4C1447
Less saturated −25%#342C33

Channel breakdown

R64
G32
B61
Red64 (25.1%)
Green32 (12.5%)
Blue61 (23.9%)
Hue305.63°
Saturation (HSL)33.33%
Lightness18.82%
Dominant channelRed
Hex per channelR 40 · G 20 · B 3D

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