Recognised as Colour
#40184C
- #40184C
- Violet
- Dark
- Nearest: Dark slateblue
#40184C is a violet with RGB values 64, 24, 76 and HSL 286°, 52%, 20%. 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
#40184C#40184C
HEX#40184C
RGBrgb(64, 24, 76)
RGB (0–1)0.251, 0.0941, 0.298
RGB percentages25.1%, 9.4%, 29.8%
HSLhsl(286.2, 52%, 19.6%)
HSV / HSBhsv(286.2, 68.4%, 29.8%)
CMYK15.8%, 68.4%, 0%, 70.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,200,524
CSS custom property--colour: #40184C;
Brightness & contrast
Relative luminance0.02265WCAG 2.x, 0 is black and 1 is white
Perceived brightness47.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.45:1
Contrast with white14.45:1WCAG normal text: AAA
Contrast with black1.45:1WCAG normal text: Fail
Greyscale equivalent#242424
Inverted#BFE7B3
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.45: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#244C18
Analogous#26184C, #4C183E
Triadic#4C4018, #184C40
Split complementary#3E4C18, #184C26
Tetradic#4C2618, #244C18, #183E4C
Tints, shades & saturation
Channel breakdown
R64
G24
B76
Red64 (25.1%)
Green24 (9.4%)
Blue76 (29.8%)
Hue286.15°
Saturation (HSL)52%
Lightness19.61%
Dominant channelBlue
Hex per channelR 40 · G 18 · 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