Nerdulator> put something in

Recognised as Colour

#402D47

  • #402D47
  • Violet
  • Dark
  • Nearest: Black

#402D47 is a violet with RGB values 64, 45, 71 and HSL 284°, 22%, 23%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Black.

Colour values

#402D47#402D47
HEX#402D47
RGBrgb(64, 45, 71)
RGB (0–1)0.251, 0.1765, 0.2784
RGB percentages25.1%, 17.6%, 27.8%
HSLhsl(283.8, 22.4%, 22.7%)
HSV / HSBhsv(283.8, 36.6%, 27.8%)
CMYK9.9%, 36.6%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,895
CSS custom property--colour: #402D47;

Brightness & contrast

Relative luminance0.03422WCAG 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.47:1
Contrast with white12.47:1WCAG normal text: AAA
Contrast with black1.68:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#BFD2B8

Colour vision & accessibility

Protanopia#293348no red cones; affects about 1% of men; ΔE 12.3 from the original
Deuteranopia#2E3546no green cones; the most common form, about 1% of men; ΔE 12.6 from the original
Tritanopia#403036no blue cones; rare, and affects men and women equally; ΔE 13.2 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.47:1WCAG large text: AAA
Contrast with black, large text1.68:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#34472D
Analogous#332D47, #472D41
Triadic#47402D, #2D4740
Split complementary#41472D, #2D4733
Tetradic#47332D, #34472D, #2D4147

Tints, shades & saturation

Lighter +40%#AA8BB5
Lighter +30%#936BA2
Lighter +20%#785585
Lighter +10%#5C4166
Darker −10%#241928
Darker −20%#080509
Darker −30%#000000
Darker −40%#000000
More saturated +25%#471F56
Less saturated −25%#3A3A3A

Channel breakdown

R64
G45
B71
Red64 (25.1%)
Green45 (17.6%)
Blue71 (27.8%)
Hue283.85°
Saturation (HSL)22.41%
Lightness22.75%
Dominant channelBlue
Hex per channelR 40 · G 2D · B 47

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