Recognised as Colour
#40284D
- #40284D
- Violet
- Dark
- Nearest: Dark slateblue
#40284D is a violet with RGB values 64, 40, 77 and HSL 279°, 32%, 23%. It is a dark colour, so white text on it reaches 12.9:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40284D#40284D
HEX#40284D
RGBrgb(64, 40, 77)
RGB (0–1)0.251, 0.1569, 0.302
RGB percentages25.1%, 15.7%, 30.2%
HSLhsl(278.9, 31.6%, 22.9%)
HSV / HSBhsv(278.9, 48.1%, 30.2%)
CMYK16.9%, 48.1%, 0%, 69.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,621
CSS custom property--colour: #40284D;
Brightness & contrast
Relative luminance0.03143WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.89:1
Contrast with white12.89:1WCAG normal text: AAA
Contrast with black1.63:1WCAG normal text: Fail
Greyscale equivalent#303030
Inverted#BFD7B2
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.89:1WCAG large text: AAA
Contrast with black, large text1.63:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#354D28
Analogous#2E284D, #4D2847
Triadic#4D4028, #284D40
Split complementary#474D28, #284D2E
Tetradic#4D2E28, #354D28, #28474D
Tints, shades & saturation
Channel breakdown
R64
G40
B77
Red64 (25.1%)
Green40 (15.7%)
Blue77 (30.2%)
Hue278.92°
Saturation (HSL)31.62%
Lightness22.94%
Dominant channelBlue
Hex per channelR 40 · G 28 · B 4D
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