Recognised as Colour
#40184A
- #40184A
- Violet
- Dark
- Nearest: Dark slateblue
#40184A is a violet with RGB values 64, 24, 74 and HSL 288°, 51%, 19%. It is a dark colour, so white text on it reaches 14.5:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40184A#40184A
HEX#40184A
RGBrgb(64, 24, 74)
RGB (0–1)0.251, 0.0941, 0.2902
RGB percentages25.1%, 9.4%, 29%
HSLhsl(288, 51%, 19.2%)
HSV / HSBhsv(288, 67.6%, 29%)
CMYK13.5%, 67.6%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,522
CSS custom property--colour: #40184A;
Brightness & contrast
Relative luminance0.02238WCAG 2.x, 0 is black and 1 is white
Perceived brightness46.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.51:1
Contrast with white14.51:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#BFE7B5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.51:1WCAG large text: AAA
Contrast with black, large text1.45:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#224A18
Analogous#27184A, #4A183B
Triadic#4A4018, #184A40
Split complementary#3B4A18, #184A27
Tetradic#4A2718, #224A18, #183B4A
Tints, shades & saturation
Channel breakdown
R64
G24
B74
Red64 (25.1%)
Green24 (9.4%)
Blue74 (29%)
Hue288°
Saturation (HSL)51.02%
Lightness19.22%
Dominant channelBlue
Hex per channelR 40 · G 18 · B 4A
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