Recognised as Colour
#40294C
- #40294C
- Violet
- Dark
- Nearest: Dark slateblue
#40294C is a violet with RGB values 64, 41, 76 and HSL 279°, 30%, 23%. It is a dark colour, so white text on it reaches 12.8:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40294C#40294C
HEX#40294C
RGBrgb(64, 41, 76)
RGB (0–1)0.251, 0.1608, 0.298
RGB percentages25.1%, 16.1%, 29.8%
HSLhsl(279.4, 29.9%, 22.9%)
HSV / HSBhsv(279.4, 46.1%, 29.8%)
CMYK15.8%, 46.1%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,876
CSS custom property--colour: #40294C;
Brightness & contrast
Relative luminance0.03198WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.81:1
Contrast with white12.81:1WCAG normal text: AAA
Contrast with black1.64:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#BFD6B3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.81: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#354C29
Analogous#2F294C, #4C2946
Triadic#4C4029, #294C40
Split complementary#464C29, #294C2F
Tetradic#4C2F29, #354C29, #29464C
Tints, shades & saturation
Channel breakdown
R64
G41
B76
Red64 (25.1%)
Green41 (16.1%)
Blue76 (29.8%)
Hue279.43°
Saturation (HSL)29.91%
Lightness22.94%
Dominant channelBlue
Hex per channelR 40 · G 29 · 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