Recognised as Colour
#40177D
- #40177D
- Violet
- Dark
- Nearest: Indigo
#40177D is a violet with RGB values 64, 23, 125 and HSL 264°, 69%, 29%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#40177D#40177D
HEX#40177D
RGBrgb(64, 23, 125)
RGB (0–1)0.251, 0.0902, 0.4902
RGB percentages25.1%, 9%, 49%
HSLhsl(264.1, 68.9%, 29%)
HSV / HSBhsv(264.1, 81.6%, 49%)
CMYK48.8%, 81.6%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,317
CSS custom property--colour: #40177D;
Brightness & contrast
Relative luminance0.03183WCAG 2.x, 0 is black and 1 is white
Perceived brightness57.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.83:1
Contrast with white12.83:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#272727
Inverted#BFE882
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.83:1WCAG large text: AAA
Contrast with black, large text1.64:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#547D17
Analogous#17217D, #73177D
Triadic#7D4017, #177D40
Split complementary#7D7317, #217D17
Tetradic#7D1721, #547D17, #177D73
Tints, shades & saturation
Channel breakdown
R64
G23
B125
Red64 (25.1%)
Green23 (9%)
Blue125 (49%)
Hue264.12°
Saturation (HSL)68.92%
Lightness29.02%
Dominant channelBlue
Hex per channelR 40 · G 17 · B 7D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page