Recognised as Colour
#40216D
- #40216D
- Violet
- Dark
- Nearest: Midnight blue
#40216D is a violet with RGB values 64, 33, 109 and HSL 264°, 54%, 28%. It is a dark colour, so white text on it reaches 12.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#40216D#40216D
HEX#40216D
RGBrgb(64, 33, 109)
RGB (0–1)0.251, 0.1294, 0.4275
RGB percentages25.1%, 12.9%, 42.7%
HSLhsl(264.5, 53.5%, 27.8%)
HSV / HSBhsv(264.5, 69.7%, 42.7%)
CMYK41.3%, 69.7%, 0%, 57.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,202,861
CSS custom property--colour: #40216D;
Brightness & contrast
Relative luminance0.03282WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.68:1
Contrast with white12.68:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#2D2D2D
Inverted#BFDE92
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.68:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#4E6D21
Analogous#21286D, #66216D
Triadic#6D4021, #216D40
Split complementary#6D6621, #286D21
Tetradic#6D2128, #4E6D21, #216D66
Tints, shades & saturation
Channel breakdown
R64
G33
B109
Red64 (25.1%)
Green33 (12.9%)
Blue109 (42.7%)
Hue264.47°
Saturation (HSL)53.52%
Lightness27.84%
Dominant channelBlue
Hex per channelR 40 · G 21 · B 6D
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