Nerdulator> put something in

Recognised as Colour

#400D4E

  • #400D4E
  • Violet
  • Dark
  • Nearest: Midnight blue

#400D4E is a violet with RGB values 64, 13, 78 and HSL 287°, 71%, 18%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#400D4E#400D4E
HEX#400D4E
RGBrgb(64, 13, 78)
RGB (0–1)0.251, 0.051, 0.3059
RGB percentages25.1%, 5.1%, 30.6%
HSLhsl(287.1, 71.4%, 17.8%)
HSV / HSBhsv(287.1, 83.3%, 30.6%)
CMYK17.9%, 83.3%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,197,710
CSS custom property--colour: #400D4E;

Brightness & contrast

Relative luminance0.01928WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.16:1
Contrast with white15.16:1WCAG normal text: AAA
Contrast with black1.39:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#BFF2B1

Colour vision & accessibility

Protanopia#002350no red cones; affects about 1% of men; ΔE 26 from the original
Deuteranopia#0F274Dno green cones; the most common form, about 1% of men; ΔE 28.3 from the original
Tritanopia#3F1B2Dno blue cones; rare, and affects men and women equally; ΔE 27.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.16:1WCAG large text: AAA
Contrast with black, large text1.39:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 21.81, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#1B4E0D
Analogous#1F0D4E, #4E0D3C
Triadic#4E400D, #0D4E40
Split complementary#3B4E0D, #0D4E20
Tetradic#4E200D, #1B4E0D, #0D3B4E

Tints, shades & saturation

Lighter +40%#BF47E0
Lighter +30%#AC23D1
Lighter +20%#881CA5
Lighter +10%#64147A
Darker −10%#1C0622
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#460259
Less saturated −25%#3A1843

Channel breakdown

R64
G13
B78
Red64 (25.1%)
Green13 (5.1%)
Blue78 (30.6%)
Hue287.08°
Saturation (HSL)71.43%
Lightness17.84%
Dominant channelBlue
Hex per channelR 40 · G 0D · B 4E

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