Recognised as Colour
#40285B
- #40285B
- Violet
- Dark
- Nearest: Dark slateblue
#40285B is a violet with RGB values 64, 40, 91 and HSL 268°, 39%, 26%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40285B#40285B
HEX#40285B
RGBrgb(64, 40, 91)
RGB (0–1)0.251, 0.1569, 0.3569
RGB percentages25.1%, 15.7%, 35.7%
HSLhsl(268.2, 38.9%, 25.7%)
HSV / HSBhsv(268.2, 56%, 35.7%)
CMYK29.7%, 56%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,635
CSS custom property--colour: #40285B;
Brightness & contrast
Relative luminance0.03363WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.56:1
Contrast with white12.56:1WCAG normal text: AAA
Contrast with black1.67:1WCAG normal text: Fail
Greyscale equivalent#313131
Inverted#BFD7A4
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.56:1WCAG large text: AAA
Contrast with black, large text1.67:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#435B28
Analogous#28295B, #5A285B
Triadic#5B4028, #285B40
Split complementary#5B5A28, #295B28
Tetradic#5B2829, #435B28, #285B5A
Tints, shades & saturation
Channel breakdown
R64
G40
B91
Red64 (25.1%)
Green40 (15.7%)
Blue91 (35.7%)
Hue268.24°
Saturation (HSL)38.93%
Lightness25.69%
Dominant channelBlue
Hex per channelR 40 · G 28 · B 5B
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