Recognised as Colour
#402F47
- #402F47
- Violet
- Dark
- Nearest: Dark slate grey
#402F47 is a violet with RGB values 64, 47, 71 and HSL 283°, 20%, 23%. It is a dark colour, so white text on it reaches 12.2:1 contrast (AAA for normal text). The nearest named colour is Dark slate grey.
Colour values
#402F47#402F47
HEX#402F47
RGBrgb(64, 47, 71)
RGB (0–1)0.251, 0.1843, 0.2784
RGB percentages25.1%, 18.4%, 27.8%
HSLhsl(282.5, 20.3%, 23.1%)
HSV / HSBhsv(282.5, 33.8%, 27.8%)
CMYK9.9%, 33.8%, 0%, 72.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,206,407
CSS custom property--colour: #402F47;
Brightness & contrast
Relative luminance0.03578WCAG 2.x, 0 is black and 1 is white
Perceived brightness55.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 12.24:1
Contrast with white12.24:1WCAG normal text: AAA
Contrast with black1.72:1WCAG normal text: Fail
Greyscale equivalent#343434
Inverted#BFD0B8
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text12.24:1WCAG large text: AAA
Contrast with black, large text1.72:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#36472F
Analogous#342F47, #472F42
Triadic#47402F, #2F4740
Split complementary#42472F, #2F4734
Tetradic#47342F, #36472F, #2F4247
Tints, shades & saturation
Channel breakdown
R64
G47
B71
Red64 (25.1%)
Green47 (18.4%)
Blue71 (27.8%)
Hue282.5°
Saturation (HSL)20.34%
Lightness23.14%
Dominant channelBlue
Hex per channelR 40 · G 2F · 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