Recognised as Colour
#40334E
- #40334E
- Violet
- Dark
- Nearest: Dark slate grey
#40334E is a violet with RGB values 64, 51, 78 and HSL 269°, 21%, 25%. It is a dark colour, so white text on it reaches 11.7:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.
Colour values
#40334E#40334E
HEX#40334E
RGBrgb(64, 51, 78)
RGB (0–1)0.251, 0.2, 0.3059
RGB percentages25.1%, 20%, 30.6%
HSLhsl(268.9, 20.9%, 25.3%)
HSV / HSBhsv(268.9, 34.6%, 30.6%)
CMYK17.9%, 34.6%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,207,438
CSS custom property--colour: #40334E;
Brightness & contrast
Relative luminance0.04008WCAG 2.x, 0 is black and 1 is white
Perceived brightness58.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.66:1
Contrast with white11.66:1WCAG normal text: AAA
Contrast with black1.8:1WCAG normal text: Fail
Greyscale equivalent#383838
Inverted#BFCCB1
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.66:1WCAG large text: AAA
Contrast with black, large text1.8:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#414E33
Analogous#33334E, #4E334E
Triadic#4E4033, #334E40
Split complementary#4E4D33, #344E33
Tetradic#4E3333, #414E33, #334E4E
Tints, shades & saturation
Channel breakdown
R64
G51
B78
Red64 (25.1%)
Green51 (20%)
Blue78 (30.6%)
Hue268.89°
Saturation (HSL)20.93%
Lightness25.29%
Dominant channelBlue
Hex per channelR 40 · G 33 · B 4E
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