Recognised as Colour
#40167B
- #40167B
- Violet
- Dark
- Nearest: Indigo
#40167B is a violet with RGB values 64, 22, 123 and HSL 265°, 70%, 28%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Indigo.
Colour values
#40167B#40167B
HEX#40167B
RGBrgb(64, 22, 123)
RGB (0–1)0.251, 0.0863, 0.4824
RGB percentages25.1%, 8.6%, 48.2%
HSLhsl(265, 69.7%, 28.4%)
HSV / HSBhsv(265, 82.1%, 48.2%)
CMYK48%, 82.1%, 0%, 51.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,059
CSS custom property--colour: #40167B;
Brightness & contrast
Relative luminance0.03094WCAG 2.x, 0 is black and 1 is white
Perceived brightness56.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.97:1
Contrast with white12.97:1WCAG normal text: AAA
Contrast with black1.62:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#BFE984
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text12.97:1WCAG large text: AAA
Contrast with black, large text1.62:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#517B16
Analogous#161E7B, #73167B
Triadic#7B4016, #167B40
Split complementary#7B7316, #1E7B16
Tetradic#7B161E, #517B16, #167B73
Tints, shades & saturation
Channel breakdown
R64
G22
B123
Red64 (25.1%)
Green22 (8.6%)
Blue123 (48.2%)
Hue264.95°
Saturation (HSL)69.66%
Lightness28.43%
Dominant channelBlue
Hex per channelR 40 · G 16 · B 7B
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