Recognised as Colour
#40094C
- #40094C
- Violet
- Dark
- Nearest: Midnight blue
#40094C is a violet with RGB values 64, 9, 76 and HSL 289°, 79%, 17%. It is a dark colour, so white text on it reaches 15.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#40094C#40094C
HEX#40094C
RGBrgb(64, 9, 76)
RGB (0–1)0.251, 0.0353, 0.298
RGB percentages25.1%, 3.5%, 29.8%
HSLhsl(289.3, 78.8%, 16.7%)
HSV / HSBhsv(289.3, 88.2%, 29.8%)
CMYK15.8%, 88.2%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,196,684
CSS custom property--colour: #40094C;
Brightness & contrast
Relative luminance0.01807WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.42:1
Contrast with white15.42:1WCAG normal text: AAA
Contrast with black1.36:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#BFF6B3
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.42:1WCAG large text: AAA
Contrast with black, large text1.36:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#154C09
Analogous#1E094C, #4C0937
Triadic#4C4009, #094C40
Split complementary#364C09, #094C1F
Tetradic#4C1F09, #154C09, #09374C
Tints, shades & saturation
Channel breakdown
R64
G9
B76
Red64 (25.1%)
Green9 (3.5%)
Blue76 (29.8%)
Hue289.25°
Saturation (HSL)78.82%
Lightness16.67%
Dominant channelBlue
Hex per channelR 40 · G 09 · B 4C
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