Nerdulator> put something in

Recognised as Colour

#40024E

  • #40024E
  • Violet
  • Dark
  • Nearest: Midnight blue

#40024E is a violet with RGB values 64, 2, 78 and HSL 289°, 95%, 16%. It is a dark colour, so white text on it reaches 15.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#40024E#40024E
HEX#40024E
RGBrgb(64, 2, 78)
RGB (0–1)0.251, 0.0078, 0.3059
RGB percentages25.1%, 0.8%, 30.6%
HSLhsl(288.9, 95%, 15.7%)
HSV / HSBhsv(288.9, 97.4%, 30.6%)
CMYK17.9%, 97.4%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,194,894
CSS custom property--colour: #40024E;

Brightness & contrast

Relative luminance0.01683WCAG 2.x, 0 is black and 1 is white
Perceived brightness43.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.71:1
Contrast with white15.71:1WCAG normal text: AAA
Contrast with black1.34:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#BFFDB1

Colour vision & accessibility

Protanopia#001F50no red cones; affects about 1% of men; ΔE 26.9 from the original
Deuteranopia#07254Cno green cones; the most common form, about 1% of men; ΔE 32.5 from the original
Tritanopia#40162Bno blue cones; rare, and affects men and women equally; ΔE 30.3 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.71:1WCAG large text: AAA
Contrast with black, large text1.34:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#104E02
Analogous#1A024E, #4E0236
Triadic#4E4002, #024E40
Split complementary#364E02, #024E1A
Tetradic#4E1A02, #104E02, #02364E

Tints, shades & saturation

Lighter +40%#D223F9
Lighter +30%#BA06E3
Lighter +20%#9205B1
Lighter +10%#690380
Darker −10%#17011C
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#410050
Less saturated −25%#3A0C44

Channel breakdown

R64
G2
B78
Red64 (25.1%)
Green2 (0.8%)
Blue78 (30.6%)
Hue288.95°
Saturation (HSL)95%
Lightness15.69%
Dominant channelBlue
Hex per channelR 40 · G 02 · 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 “40024e” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.