Recognised as Colour
#40264A
- #40264A
- Violet
- Dark
- Nearest: Dark slateblue
#40264A is a violet with RGB values 64, 38, 74 and HSL 283°, 32%, 22%. It is a dark colour, so white text on it reaches 13.2:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#40264A#40264A
HEX#40264A
RGBrgb(64, 38, 74)
RGB (0–1)0.251, 0.149, 0.2902
RGB percentages25.1%, 14.9%, 29%
HSLhsl(283.3, 32.1%, 22%)
HSV / HSBhsv(283.3, 48.6%, 29%)
CMYK13.5%, 48.6%, 0%, 71%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,204,106
CSS custom property--colour: #40264A;
Brightness & contrast
Relative luminance0.02971WCAG 2.x, 0 is black and 1 is white
Perceived brightness51.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.17:1
Contrast with white13.17:1WCAG normal text: AAA
Contrast with black1.59:1WCAG normal text: Fail
Greyscale equivalent#2E2E2E
Inverted#BFD9B5
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.17:1WCAG large text: AAA
Contrast with black, large text1.59:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#304A26
Analogous#2E264A, #4A2642
Triadic#4A4026, #264A40
Split complementary#424A26, #264A2E
Tetradic#4A2E26, #304A26, #26424A
Tints, shades & saturation
Channel breakdown
R64
G38
B74
Red64 (25.1%)
Green38 (14.9%)
Blue74 (29%)
Hue283.33°
Saturation (HSL)32.14%
Lightness21.96%
Dominant channelBlue
Hex per channelR 40 · G 26 · 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