Recognised as Colour
#402C79
- #402C79
- Violet
- Dark
- Nearest: Dark slateblue
#402C79 is a violet with RGB values 64, 44, 121 and HSL 256°, 47%, 32%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#402C79#402C79
HEX#402C79
RGBrgb(64, 44, 121)
RGB (0–1)0.251, 0.1725, 0.4745
RGB percentages25.1%, 17.3%, 47.5%
HSLhsl(255.6, 46.7%, 32.4%)
HSV / HSBhsv(255.6, 63.6%, 47.5%)
CMYK47.1%, 63.6%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,689
CSS custom property--colour: #402C79;
Brightness & contrast
Relative luminance0.04272WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.32:1
Contrast with white11.32:1WCAG normal text: AAA
Contrast with black1.85:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#BFD386
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.32:1WCAG large text: AAA
Contrast with black, large text1.85:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#65792C
Analogous#2C3F79, #662C79
Triadic#79402C, #2C7940
Split complementary#79662C, #3F792C
Tetradic#792C3F, #65792C, #2C7966
Tints, shades & saturation
Channel breakdown
R64
G44
B121
Red64 (25.1%)
Green44 (17.3%)
Blue121 (47.5%)
Hue255.58°
Saturation (HSL)46.67%
Lightness32.35%
Dominant channelBlue
Hex per channelR 40 · G 2C · B 79
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