Nerdulator> put something in

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

Protanopia#2C3448no red cones; affects about 1% of men; ΔE 10.7 from the original
Deuteranopia#2F3646no green cones; the most common form, about 1% of men; ΔE 11.5 from the original
Tritanopia#403238no blue cones; rare, and affects men and women equally; ΔE 11.9 from the original
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

Nearest named CSS colourDark slate grey (#2F4F4F)ΔE 27.54, a distinctly different colour
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

Lighter +40%#A98EB4
Lighter +30%#926FA0
Lighter +20%#775884
Lighter +10%#5C4366
Darker −10%#241B28
Darker −20%#09060A
Darker −30%#000000
Darker −40%#000000
More saturated +25%#462056
Less saturated −25%#3B3B3B

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “402f47” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.