Recognised as Colour
#40105D
- #40105D
- Violet
- Dark
- Nearest: Midnight blue
#40105D is a violet with RGB values 64, 16, 93 and HSL 277°, 71%, 21%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#40105D#40105D
HEX#40105D
RGBrgb(64, 16, 93)
RGB (0–1)0.251, 0.0627, 0.3647
RGB percentages25.1%, 6.3%, 36.5%
HSLhsl(277.4, 70.6%, 21.4%)
HSV / HSBhsv(277.4, 82.8%, 36.5%)
CMYK31.2%, 82.8%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,198,493
CSS custom property--colour: #40105D;
Brightness & contrast
Relative luminance0.02251WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.48:1
Contrast with white14.48:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#202020
Inverted#BFEFA2
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.48:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2D5D10
Analogous#1A105D, #5D1053
Triadic#5D4010, #105D40
Split complementary#545D10, #105D19
Tetradic#5D1910, #2D5D10, #10545D
Tints, shades & saturation
Channel breakdown
R64
G16
B93
Red64 (25.1%)
Green16 (6.3%)
Blue93 (36.5%)
Hue277.4°
Saturation (HSL)70.64%
Lightness21.37%
Dominant channelBlue
Hex per channelR 40 · G 10 · B 5D
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