Nerdulator> put something in

Recognised as Colour

#40176C

  • #40176C
  • Violet
  • Dark
  • Nearest: Midnight blue

#40176C is a violet with RGB values 64, 23, 108 and HSL 269°, 65%, 26%. It is a dark colour, so white text on it reaches 13.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#40176C#40176C
HEX#40176C
RGBrgb(64, 23, 108)
RGB (0–1)0.251, 0.0902, 0.4235
RGB percentages25.1%, 9%, 42.4%
HSLhsl(268.9, 64.9%, 25.7%)
HSV / HSBhsv(268.9, 78.7%, 42.4%)
CMYK40.7%, 78.7%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,300
CSS custom property--colour: #40176C;

Brightness & contrast

Relative luminance0.02785WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.49:1
Contrast with white13.49:1WCAG normal text: AAA
Contrast with black1.56:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#BFE893

Colour vision & accessibility

Protanopia#002E6Eno red cones; affects about 1% of men; ΔE 23.3 from the original
Deuteranopia#002E6Ano green cones; the most common form, about 1% of men; ΔE 25.2 from the original
Tritanopia#362D40no blue cones; rare, and affects men and women equally; ΔE 42.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.49:1WCAG large text: AAA
Contrast with black, large text1.56:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 10.47, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#436C17
Analogous#17186C, #6B176C
Triadic#6C4017, #176C40
Split complementary#6C6A17, #196C17
Tetradic#6C1718, #436C17, #176C6B

Tints, shades & saturation

Lighter +40%#A56FE0
Lighter +30%#8B45D7
Lighter +20%#7229C0
Lighter +10%#592096
Darker −10%#270E42
Darker −20%#0E0518
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3F077C
Less saturated −25%#41275C

Channel breakdown

R64
G23
B108
Red64 (25.1%)
Green23 (9%)
Blue108 (42.4%)
Hue268.94°
Saturation (HSL)64.89%
Lightness25.69%
Dominant channelBlue
Hex per channelR 40 · G 17 · B 6C

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