Recognised as Colour
#402C45
- #402C45
- Violet
- Dark
- Nearest: Black
#402C45 is a violet with RGB values 64, 44, 69 and HSL 288°, 22%, 22%. It is a dark colour, so white text on it reaches 12.6:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#402C45#402C45
HEX#402C45
RGBrgb(64, 44, 69)
RGB (0–1)0.251, 0.1725, 0.2706
RGB percentages25.1%, 17.3%, 27.1%
HSLhsl(288, 22.1%, 22.2%)
HSV / HSBhsv(288, 36.2%, 27.1%)
CMYK7.2%, 36.2%, 0%, 72.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,637
CSS custom property--colour: #402C45;
Brightness & contrast
Relative luminance0.03321WCAG 2.x, 0 is black and 1 is white
Perceived brightness53.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.62:1
Contrast with white12.62:1WCAG normal text: AAA
Contrast with black1.66:1WCAG normal text: Fail
Greyscale equivalent#323232
Inverted#BFD3BA
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.62:1WCAG large text: AAA
Contrast with black, large text1.66:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#31452C
Analogous#332C45, #452C3E
Triadic#45402C, #2C4540
Split complementary#3D452C, #2C4533
Tetradic#45342C, #31452C, #2C3E45
Tints, shades & saturation
Channel breakdown
R64
G44
B69
Red64 (25.1%)
Green44 (17.3%)
Blue69 (27.1%)
Hue288°
Saturation (HSL)22.12%
Lightness22.16%
Dominant channelBlue
Hex per channelR 40 · G 2C · B 45
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