Nerdulator> put something in

Recognised as Colour

#40374B

  • #40374B
  • Violet
  • Dark
  • Nearest: Dark slate grey

#40374B is a violet with RGB values 64, 55, 75 and HSL 267°, 15%, 25%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.

Colour values

#40374B#40374B
HEX#40374B
RGBrgb(64, 55, 75)
RGB (0–1)0.251, 0.2157, 0.2941
RGB percentages25.1%, 21.6%, 29.4%
HSLhsl(267, 15.4%, 25.5%)
HSV / HSBhsv(267, 26.7%, 29.4%)
CMYK14.7%, 26.7%, 0%, 70.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,208,459
CSS custom property--colour: #40374B;

Brightness & contrast

Relative luminance0.0433WCAG 2.x, 0 is black and 1 is white
Perceived brightness60.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.25:1
Contrast with white11.25:1WCAG normal text: AAA
Contrast with black1.87:1WCAG normal text: Fail
Greyscale equivalent#3A3A3A
Inverted#BFC8B4

Colour vision & accessibility

Protanopia#333A4Cno red cones; affects about 1% of men; ΔE 6.7 from the original
Deuteranopia#353B4Ano green cones; the most common form, about 1% of men; ΔE 7.2 from the original
Tritanopia#3E3A3Eno blue cones; rare, and affects men and women equally; ΔE 10.8 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.25:1WCAG large text: AAA
Contrast with black, large text1.87:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#424B37
Analogous#37384B, #4A374B
Triadic#4B4037, #374B40
Split complementary#4B4A37, #384B37
Tetradic#4B3738, #424B37, #374B4A

Tints, shades & saturation

Lighter +40%#A699B5
Lighter +30%#8C7C9F
Lighter +20%#726286
Lighter +10%#594D68
Darker −10%#27212E
Darker −20%#0E0C10
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3E275B
Less saturated −25%#414141

Channel breakdown

R64
G55
B75
Red64 (25.1%)
Green55 (21.6%)
Blue75 (29.4%)
Hue267°
Saturation (HSL)15.38%
Lightness25.49%
Dominant channelBlue
Hex per channelR 40 · G 37 · B 4B

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