Nerdulator> put something in

Recognised as Colour

#40177A

  • #40177A
  • Violet
  • Dark
  • Nearest: Midnight blue

#40177A is a violet with RGB values 64, 23, 122 and HSL 265°, 68%, 28%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#40177A#40177A
HEX#40177A
RGBrgb(64, 23, 122)
RGB (0–1)0.251, 0.0902, 0.4784
RGB percentages25.1%, 9%, 47.8%
HSLhsl(264.8, 68.3%, 28.4%)
HSV / HSBhsv(264.8, 81.1%, 47.8%)
CMYK47.5%, 81.1%, 0%, 52.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,314
CSS custom property--colour: #40177A;

Brightness & contrast

Relative luminance0.03108WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.95:1
Contrast with white12.95:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#BFE885

Colour vision & accessibility

Protanopia#00327Dno red cones; affects about 1% of men; ΔE 23.5 from the original
Deuteranopia#003078no green cones; the most common form, about 1% of men; ΔE 24.3 from the original
Tritanopia#2F3348no blue cones; rare, and affects men and women equally; ΔE 50.8 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.95:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#517A17
Analogous#171F7A, #72177A
Triadic#7A4017, #177A40
Split complementary#7A7217, #1F7A17
Tetradic#7A171F, #517A17, #177A72

Tints, shades & saturation

Lighter +40%#A578E5
Lighter +30%#894DDD
Lighter +20%#6D27D0
Lighter +10%#571FA5
Darker −10%#290F4F
Darker −20%#130724
Darker −30%#000000
Darker −40%#000000
More saturated +25%#3D058C
Less saturated −25%#432968

Channel breakdown

R64
G23
B122
Red64 (25.1%)
Green23 (9%)
Blue122 (47.8%)
Hue264.85°
Saturation (HSL)68.28%
Lightness28.43%
Dominant channelBlue
Hex per channelR 40 · G 17 · B 7A

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