Nerdulator> put something in

Recognised as Colour

#402C79

  • #402C79
  • Violet
  • Dark
  • Nearest: Dark slateblue

#402C79 is a violet with RGB values 64, 44, 121 and HSL 256°, 47%, 32%. It is a dark colour, so white text on it reaches 11.3:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.

Colour values

#402C79#402C79
HEX#402C79
RGBrgb(64, 44, 121)
RGB (0–1)0.251, 0.1725, 0.4745
RGB percentages25.1%, 17.3%, 47.5%
HSLhsl(255.6, 46.7%, 32.4%)
HSV / HSBhsv(255.6, 63.6%, 47.5%)
CMYK47.1%, 63.6%, 0%, 52.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,205,689
CSS custom property--colour: #402C79;

Brightness & contrast

Relative luminance0.04272WCAG 2.x, 0 is black and 1 is white
Perceived brightness63.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 11.32:1
Contrast with white11.32:1WCAG normal text: AAA
Contrast with black1.85:1WCAG normal text: Fail
Greyscale equivalent#363636
Inverted#BFD386

Colour vision & accessibility

Protanopia#003C7Bno red cones; affects about 1% of men; ΔE 19.6 from the original
Deuteranopia#003977no green cones; the most common form, about 1% of men; ΔE 19.2 from the original
Tritanopia#2F3E4Eno blue cones; rare, and affects men and women equally; ΔE 42.5 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text11.32:1WCAG large text: AAA
Contrast with black, large text1.85:1WCAG large text: Fail

Named colours

Nearest named CSS colourDark slateblue (#483D8B)ΔE 7.16, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#65792C
Analogous#2C3F79, #662C79
Triadic#79402C, #2C7940
Split complementary#79662C, #3F792C
Tetradic#792C3F, #65792C, #2C7966

Tints, shades & saturation

Lighter +40%#A998D9
Lighter +30%#8972CC
Lighter +20%#6A4DBE
Lighter +10%#543A9E
Darker −10%#2C1E54
Darker −20%#18112E
Darker −30%#050309
Darker −40%#000000
More saturated +25%#36178E
Less saturated −25%#4A4164

Channel breakdown

R64
G44
B121
Red64 (25.1%)
Green44 (17.3%)
Blue121 (47.5%)
Hue255.58°
Saturation (HSL)46.67%
Lightness32.35%
Dominant channelBlue
Hex per channelR 40 · G 2C · B 79

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 “402c79” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.