Nerdulator> put something in

Recognised as Colour

#400A5F

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

#400A5F is a violet with RGB values 64, 10, 95 and HSL 278°, 81%, 21%. It is a dark colour, so white text on it reaches 14.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#400A5F#400A5F
HEX#400A5F
RGBrgb(64, 10, 95)
RGB (0–1)0.251, 0.0392, 0.3725
RGB percentages25.1%, 3.9%, 37.3%
HSLhsl(278.1, 81%, 20.6%)
HSV / HSBhsv(278.1, 89.5%, 37.3%)
CMYK32.6%, 89.5%, 0%, 62.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer4,196,959
CSS custom property--colour: #400A5F;

Brightness & contrast

Relative luminance0.02133WCAG 2.x, 0 is black and 1 is white
Perceived brightness48.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.72:1
Contrast with white14.72:1WCAG normal text: AAA
Contrast with black1.43:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#BFF5A0

Colour vision & accessibility

Protanopia#002661no red cones; affects about 1% of men; ΔE 25.1 from the original
Deuteranopia#00295Dno green cones; the most common form, about 1% of men; ΔE 29.4 from the original
Tritanopia#3B2236no blue cones; rare, and affects men and women equally; ΔE 37.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.72:1WCAG large text: AAA
Contrast with black, large text1.43:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#295F0A
Analogous#150A5F, #5F0A54
Triadic#5F400A, #0A5F40
Split complementary#545F0A, #0A5F15
Tetradic#5F150A, #295F0A, #0A545F

Tints, shades & saturation

Lighter +40%#B149EC
Lighter +30%#9D1BE7
Lighter +20%#7E14BB
Lighter +10%#5F0F8D
Darker −10%#210531
Darker −20%#020003
Darker −30%#000000
Darker −40%#000000
More saturated +25%#430069
Less saturated −25%#3C1752

Channel breakdown

R64
G10
B95
Red64 (25.1%)
Green10 (3.9%)
Blue95 (37.3%)
Hue278.12°
Saturation (HSL)80.95%
Lightness20.59%
Dominant channelBlue
Hex per channelR 40 · G 0A · B 5F

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