Nerdulator> put something in

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

Protanopia#293246no red cones; affects about 1% of men; ΔE 12.5 from the original
Deuteranopia#2E3444no green cones; the most common form, about 1% of men; ΔE 12.7 from the original
Tritanopia#402F35no blue cones; rare, and affects men and women equally; ΔE 12.5 from the original
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

Nearest named CSS colourBlack (#000000)ΔE 28.43, a distinctly different colour
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

Lighter +40%#AB89B4
Lighter +30%#956AA0
Lighter +20%#7A5483
Lighter +10%#5D4064
Darker −10%#231826
Darker −20%#060407
Darker −30%#000000
Darker −40%#000000
More saturated +25%#481E53
Less saturated −25%#393939

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

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