Recognised as Colour
#402D47
- #402D47
- Violet
- Dark
- Nearest: Black
#402D47 is a violet with RGB values 64, 45, 71 and HSL 284°, 22%, 23%. It is a dark colour, so white text on it reaches 12.5:1 contrast (AAA for normal text). The nearest named colour is Black.
Colour values
#402D47#402D47
HEX#402D47
RGBrgb(64, 45, 71)
RGB (0–1)0.251, 0.1765, 0.2784
RGB percentages25.1%, 17.6%, 27.8%
HSLhsl(283.8, 22.4%, 22.7%)
HSV / HSBhsv(283.8, 36.6%, 27.8%)
CMYK9.9%, 36.6%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,895
CSS custom property--colour: #402D47;
Brightness & contrast
Relative luminance0.03422WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.7 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.47:1
Contrast with white12.47:1WCAG normal text: AAA
Contrast with black1.68:1WCAG normal text: Fail
Greyscale equivalent#333333
Inverted#BFD2B8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.47:1WCAG large text: AAA
Contrast with black, large text1.68:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#34472D
Analogous#332D47, #472D41
Triadic#47402D, #2D4740
Split complementary#41472D, #2D4733
Tetradic#47332D, #34472D, #2D4147
Tints, shades & saturation
Channel breakdown
R64
G45
B71
Red64 (25.1%)
Green45 (17.6%)
Blue71 (27.8%)
Hue283.85°
Saturation (HSL)22.41%
Lightness22.75%
Dominant channelBlue
Hex per channelR 40 · G 2D · B 47
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