Nerdulator> put something in

Recognised as Colour

#400C66

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

#400C66 is a violet with RGB values 64, 12, 102 and HSL 275°, 79%, 22%. It is a dark colour, so white text on it reaches 14.4:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#400C66#400C66
HEX#400C66
RGBrgb(64, 12, 102)
RGB (0–1)0.251, 0.0471, 0.4
RGB percentages25.1%, 4.7%, 40%
HSLhsl(274.7, 78.9%, 22.4%)
HSV / HSBhsv(274.7, 88.2%, 40%)
CMYK37.3%, 88.2%, 0%, 60%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,197,478
CSS custom property--colour: #400C66;

Brightness & contrast

Relative luminance0.02312WCAG 2.x, 0 is black and 1 is white
Perceived brightness50 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.36:1
Contrast with white14.36:1WCAG normal text: AAA
Contrast with black1.46:1WCAG normal text: Fail
Greyscale equivalent#1E1E1E
Inverted#BFF399

Colour vision & accessibility

Protanopia#002968no red cones; affects about 1% of men; ΔE 25.3 from the original
Deuteranopia#002A64no green cones; the most common form, about 1% of men; ΔE 28 from the original
Tritanopia#39263Bno blue cones; rare, and affects men and women equally; ΔE 41.1 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.36:1WCAG large text: AAA
Contrast with black, large text1.46:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#32660C
Analogous#130C66, #660C5F
Triadic#66400C, #0C6640
Split complementary#5F660C, #0C6613
Tetradic#66130C, #32660C, #0C5F66

Tints, shades & saturation

Lighter +40%#AB53EB
Lighter +30%#9426E5
Lighter +20%#7917C1
Lighter +10%#5D1194
Darker −10%#230738
Darker −20%#07010B
Darker −30%#000000
Darker −40%#000000
More saturated +25%#420072
Less saturated −25%#3E1A58

Channel breakdown

R64
G12
B102
Red64 (25.1%)
Green12 (4.7%)
Blue102 (40%)
Hue274.67°
Saturation (HSL)78.95%
Lightness22.35%
Dominant channelBlue
Hex per channelR 40 · G 0C · B 66

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